/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/chests/AdvancedChest.java
ViewVC logotype

Diff of /miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/chests/AdvancedChest.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1903 by torben, Tue Nov 27 15:38:11 2012 UTC revision 1904 by torben, Tue Dec 18 10:33:47 2012 UTC
# Line 470  public class AdvancedChest  implements L Line 470  public class AdvancedChest  implements L
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                                  }                                  }
# Line 511  public class AdvancedChest  implements L Line 511  public class AdvancedChest  implements L
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                          }                          }

Legend:
Removed from v.1903  
changed lines
  Added in v.1904

  ViewVC Help
Powered by ViewVC 1.1.20