/[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 1774 by torben, Thu Apr 5 12:37:13 2012 UTC revision 1775 by torben, Thu Apr 5 12:50:15 2012 UTC
# Line 241  public class SnitchingChest  implements Line 241  public class SnitchingChest  implements
241                  if (holder instanceof Chest || holder instanceof DoubleChest) {                  if (holder instanceof Chest || holder instanceof DoubleChest) {
242                          Location loc = getChestLocation(holder);                          Location loc = getChestLocation(holder);
243                          SnitchingChestBean chest = chestMap.get(loc);                          SnitchingChestBean chest = chestMap.get(loc);
244                            
245                            if (chest == null) { //chest was not a snitching chest
246                                    return;
247                            }
248                            
249                          OfflinePlayer owner = server.getOfflinePlayer( chest.getOwner() );                          OfflinePlayer owner = server.getOfflinePlayer( chest.getOwner() );
250                                                    
251                                                    

Legend:
Removed from v.1774  
changed lines
  Added in v.1775

  ViewVC Help
Powered by ViewVC 1.1.20