--- miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java 2011/06/26 10:04:04 1524 +++ miscJava/bukkit-minecraft-plugins/HoerupUtils/src/dk/thoerup/bukkit/hoeruputils/HoerupUtilsPlugin.java 2011/06/26 13:29:58 1525 @@ -53,6 +53,12 @@ getCommand("superminer").setExecutor(superMiner); pm.registerEvent(Event.Type.PROJECTILE_HIT, new ExplosiveSnowballs(), Priority.Normal, this); + + + SecretDoor secretDoor = new SecretDoor(this); + pm.registerEvent(Event.Type.BLOCK_BREAK, secretDoor, Priority.Normal, this); + pm.registerEvent(Event.Type.SIGN_CHANGE, secretDoor, Priority.Normal, this); + pm.registerEvent(Event.Type.PLAYER_INTERACT, secretDoor.getPlayerListener(), Priority.Normal, this); }