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

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

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

revision 1524 by torben, Sun Jun 26 10:04:04 2011 UTC revision 1525 by torben, Sun Jun 26 13:29:58 2011 UTC
# Line 53  public class HoerupUtilsPlugin extends J Line 53  public class HoerupUtilsPlugin extends J
53                  getCommand("superminer").setExecutor(superMiner);                  getCommand("superminer").setExecutor(superMiner);
54    
55                  pm.registerEvent(Event.Type.PROJECTILE_HIT, new ExplosiveSnowballs(), Priority.Normal, this);                  pm.registerEvent(Event.Type.PROJECTILE_HIT, new ExplosiveSnowballs(), Priority.Normal, this);
56    
57                    
58                    SecretDoor secretDoor = new SecretDoor(this);
59                    pm.registerEvent(Event.Type.BLOCK_BREAK, secretDoor, Priority.Normal, this);
60                    pm.registerEvent(Event.Type.SIGN_CHANGE, secretDoor, Priority.Normal, this);
61                    pm.registerEvent(Event.Type.PLAYER_INTERACT, secretDoor.getPlayerListener(), Priority.Normal, this);
62                                    
63          }          }
64    

Legend:
Removed from v.1524  
changed lines
  Added in v.1525

  ViewVC Help
Powered by ViewVC 1.1.20