From 6856c6d95a74ef9f08acc68d803212ee9598263f Mon Sep 17 00:00:00 2001 From: Jascha Starke Date: Tue, 15 Jan 2013 08:42:22 +0100 Subject: [PATCH] v1.4.6c: - added Beacon to List of chested items (like enderchest) --- plugin.yml | 2 +- pom.xml | 2 +- .../minecraft/limitedcreative/listeners/LimitListener.java | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin.yml b/plugin.yml index 60d6a68..a21b8bc 100644 --- a/plugin.yml +++ b/plugin.yml @@ -1,6 +1,6 @@ name: LimitedCreative main: de.jaschastarke.minecraft.limitedcreative.Core -version: 1.4.6b +version: 1.4.6c softdepend: [WorldGuard, WorldEdit, MultiInv] dev-url: http://dev.bukkit.org/server-mods/limited-creative/ commands: diff --git a/pom.xml b/pom.xml index 4aeefc4..0363856 100644 --- a/pom.xml +++ b/pom.xml @@ -3,7 +3,7 @@ de.jaschastarke LimitedCreative LimitedCreative - 1.4.6b + 1.4.6c https://github.com/possi/LimitedCreative scm:git:git://github.com/possi/LimitedCreative.git diff --git a/src/de/jaschastarke/minecraft/limitedcreative/listeners/LimitListener.java b/src/de/jaschastarke/minecraft/limitedcreative/listeners/LimitListener.java index aa5700a..8fe5c79 100644 --- a/src/de/jaschastarke/minecraft/limitedcreative/listeners/LimitListener.java +++ b/src/de/jaschastarke/minecraft/limitedcreative/listeners/LimitListener.java @@ -93,7 +93,7 @@ public class LimitListener implements Listener { Block block = event.getClickedBlock(); - if (block.getState() instanceof InventoryHolder || block.getType() == Material.ENDER_CHEST) { // Workaround, Bukkit not recognize a Enderchest + if (block.getState() instanceof InventoryHolder || block.getType() == Material.ENDER_CHEST || block.getType() == Material.BEACON) { // Workaround, Bukkit not recognize a Enderchest player.onChestAccess(event); } else if (block.getState() instanceof Sign) { player.onSignAccess(event);