/[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 2428 by torben, Sat Mar 7 20:54:11 2015 UTC revision 2429 by torben, Mon Mar 9 12:29:22 2015 UTC
# Line 83  public class AdvancedChest  implements L Line 83  public class AdvancedChest  implements L
83                  }                  }
84    
85    
86                  Block b = player.getTargetBlock( (HashSet<Byte>)null, 30);                                        Block b = player.getTargetBlock( (Set<Material>)null, 30);                      
87    
88                  if (b.getTypeId() != 54 && b.getTypeId() != 154) {                  if (b.getTypeId() != 54 && b.getTypeId() != 154) {
89                          player.sendMessage("[Chest] Please look at the chest/hopper you want to protect");                          player.sendMessage("[Chest] Please look at the chest/hopper you want to protect");

Legend:
Removed from v.2428  
changed lines
  Added in v.2429

  ViewVC Help
Powered by ViewVC 1.1.20