/[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 1807 by torben, Sun Jun 3 18:05:09 2012 UTC revision 1808 by torben, Sun Jun 3 20:16:40 2012 UTC
# Line 166  public class AdvancedChest  implements L Line 166  public class AdvancedChest  implements L
166                                                    
167                          Set<String> players = Util.stringToSet( chest.getModifyPlayers() );                          Set<String> players = Util.stringToSet( chest.getModifyPlayers() );
168                          if (cmd.equals("addplayer")) {                          if (cmd.equals("addplayer")) {
169                                  players.add(args[1]);                                  players.add(p2.getName());
170                          } else {                          } else {
171                                  players.remove(args[1]);                                  players.remove(p2.getName());
172                          }                          }
173                                                    
174                          chest.setModifyPlayers( Util.setToString(players) );                          chest.setModifyPlayers( Util.setToString(players) );

Legend:
Removed from v.1807  
changed lines
  Added in v.1808

  ViewVC Help
Powered by ViewVC 1.1.20