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

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

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

revision 1776 by torben, Thu Apr 5 12:57:33 2012 UTC revision 1777 by torben, Thu Apr 5 14:10:07 2012 UTC
# Line 127  public class SnitchingChest  implements Line 127  public class SnitchingChest  implements
127                    
128          void removeChest(Location loc) {          void removeChest(Location loc) {
129                  SnitchingChestBean chest = chestMap.remove(loc);                  SnitchingChestBean chest = chestMap.remove(loc);
130                  plugin.getDatabase().delete(chest);                  if (chest != null) {
131                            plugin.getDatabase().delete(chest);
132                    }
133          }          }
134                    
135          void loadChests() {                      void loadChests() {            

Legend:
Removed from v.1776  
changed lines
  Added in v.1777

  ViewVC Help
Powered by ViewVC 1.1.20