From 8afab9c603f656ea8afbcb05c02e5a78ef6000b4 Mon Sep 17 00:00:00 2001 From: Jascha Starke Date: Fri, 18 Jan 2013 09:00:04 +0100 Subject: [PATCH] - added Enchantment-Tables to blockbenches --- pom.xml | 12 +++++++++--- .../limitedcreative/listeners/LimitListener.java | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/pom.xml b/pom.xml index 0363856..5572103 100644 --- a/pom.xml +++ b/pom.xml @@ -84,32 +84,38 @@ 1.4.6-R0.1 + org.bukkit craftbukkit 1.4.6-R0.1 + com.sk89q worldedit - 5.4.5 + 5.5 compile + com.sk89q worldguard - 5.6.6-SNAPSHOT + 5.7 + uk.org.whoami authme - 2.7.1 + 2.7.2 + com.onarandombox.multiversecore Multiverse-Core 2.4 + com.cypherx xauth 2.0.26 diff --git a/src/de/jaschastarke/minecraft/limitedcreative/listeners/LimitListener.java b/src/de/jaschastarke/minecraft/limitedcreative/listeners/LimitListener.java index 8fe5c79..f744093 100644 --- a/src/de/jaschastarke/minecraft/limitedcreative/listeners/LimitListener.java +++ b/src/de/jaschastarke/minecraft/limitedcreative/listeners/LimitListener.java @@ -99,7 +99,7 @@ public class LimitListener implements Listener { player.onSignAccess(event); } else if (block.getState() instanceof Lever || block.getState() instanceof Button) { player.onButtonAccess(event); - } else if (block.getType() == Material.WORKBENCH || block.getType() == Material.ANVIL) { + } else if (block.getType() == Material.WORKBENCH || block.getType() == Material.ANVIL || block.getType() == Material.ENCHANTMENT_TABLE) { player.onBenchAccess(event); } }