/[projects]/miscJava/minecraft-plugins/hoeruputils/src/AdminDestroy.java
ViewVC logotype

Diff of /miscJava/minecraft-plugins/hoeruputils/src/AdminDestroy.java

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

revision 1199 by torben, Sat Nov 20 08:59:03 2010 UTC revision 1200 by torben, Wed Dec 1 08:53:44 2010 UTC
# Line 19  public class AdminDestroy  extends Plugi Line 19  public class AdminDestroy  extends Plugi
19    
20          @Override          @Override
21          public boolean onBlockDestroy(Player player, Block block) {          public boolean onBlockDestroy(Player player, Block block) {
22                  if (player.isAdmin() && adminDestroyers.contains(player.getName() ) ) {                  if (adminDestroyers.contains(player.getName() ) ) {
23                          if (player.getItemInHand() == HAND_EMPTY) {                          if (player.getItemInHand() == HAND_EMPTY) {
24    
25                                  int oldType = block.getType();                                  int oldType = block.getType();

Legend:
Removed from v.1199  
changed lines
  Added in v.1200

  ViewVC Help
Powered by ViewVC 1.1.20