From a6d60dbc94edda1b58d33c695fef5a2ee7759b79 Mon Sep 17 00:00:00 2001 From: snowleo Date: Sun, 26 Jun 2011 16:17:45 +0200 Subject: Deprecating the old sign code and adding the new code. Please test everything without EssentialsProtect. The signs should protect themselves. --- .../earth2me/essentials/protect/EssentialsProtectEntityListener.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'EssentialsProtect') diff --git a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java index 42a55c874..f44021bce 100644 --- a/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java +++ b/EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java @@ -249,12 +249,12 @@ public class EssentialsProtectEntityListener extends EntityListener event.setCancelled(true); return; } - if (EssentialsBlockListener.protectedBlocks.contains(block.getType()) + /*if (EssentialsBlockListener.protectedBlocks.contains(block.getType()) && EssentialsBlockListener.isBlockProtected(block)) { event.setCancelled(true); return; - } + }*/ } } -- cgit v1.2.3