diff --git a/plugin.yml b/plugin.yml index 93c1246..33384f8 100644 --- a/plugin.yml +++ b/plugin.yml @@ -1,6 +1,6 @@ name: LimitedCreative main: de.jaschastarke.minecraft.limitedcreative.Core -version: 1.3.0a +version: 1.3.0b softdepend: [WorldGuard, WorldEdit, MultiInv] dev-url: http://dev.bukkit.org/server-mods/limited-creative/ commands: diff --git a/pom.xml b/pom.xml index 45334be..c43949e 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ de.jaschastarke LimitedCreative LimitedCreative - 1.3.0a + 1.3.0b https://github.com/possi/LimitedCreative scm:git:git://github.com/possi/LimitedCreative.git @@ -68,7 +68,7 @@ org.bukkit bukkit - 1.3.1-R0.1-SNAPSHOT + 1.3.1-R1.0 com.sk89q diff --git a/src/de/jaschastarke/minecraft/limitedcreative/listeners/LimitListener.java b/src/de/jaschastarke/minecraft/limitedcreative/listeners/LimitListener.java index 14139d1..d158731 100644 --- a/src/de/jaschastarke/minecraft/limitedcreative/listeners/LimitListener.java +++ b/src/de/jaschastarke/minecraft/limitedcreative/listeners/LimitListener.java @@ -90,7 +90,7 @@ public class LimitListener implements Listener { Block block = event.getClickedBlock(); - if (block.getState() instanceof InventoryHolder) { + if (block.getState() instanceof InventoryHolder || block.getType() == Material.ENDER_CHEST) { // Workaround, Bukkit not recognize a Enderchest player.onChestAccess(event); } else if (block.getState() instanceof Sign) { player.onSignAccess(event);