470 |
return; //chest is opened by it's owner |
return; //chest is opened by it's owner |
471 |
} |
} |
472 |
|
|
473 |
Set<String> players = Util.stringToSet( chest.getModifyPlayers() ); |
Set<String> players = chest.getModifyPlayersSet() ; |
474 |
if ( players.contains(player.getName()) ) { |
if ( players.contains(player.getName()) ) { |
475 |
return; //this player is on the whitelist so he may open |
return; //this player is on the whitelist so he may open |
476 |
} |
} |
511 |
return; //chest is owned by it's own player |
return; //chest is owned by it's own player |
512 |
} |
} |
513 |
|
|
514 |
Set<String> players = Util.stringToSet( chest.getModifyPlayers() ); |
Set<String> players = chest.getModifyPlayersSet(); |
515 |
if ( players.contains(player.getName()) ) { |
if ( players.contains(player.getName()) ) { |
516 |
return; //this player is on the whitelist so he may open |
return; //this player is on the whitelist so he may open |
517 |
} |
} |