/[projects]/miscJava/bukkit-minecraft-plugins/HoerupUtils/src/main/java/dk/thoerup/bukkit/hoeruputils/chests/SnitchingChest.java |
Parent Directory | Revision Log | 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() { |
|
ViewVC Help | |
Powered by ViewVC 1.1.20 |