summaryrefslogtreecommitdiffstats
path: root/EssentialsProtect/src
diff options
context:
space:
mode:
authorsnowleo <schneeleo@gmail.com>2011-06-26 16:17:45 +0200
committersnowleo <schneeleo@gmail.com>2011-06-26 16:17:45 +0200
commita6d60dbc94edda1b58d33c695fef5a2ee7759b79 (patch)
treedeaa6d3094037479faa5e8f23207172e754b1d4f /EssentialsProtect/src
parentfa5d6fbfaecd3892ef870d500a6c38e7ae40058a (diff)
downloadEssentials-a6d60dbc94edda1b58d33c695fef5a2ee7759b79.tar
Essentials-a6d60dbc94edda1b58d33c695fef5a2ee7759b79.tar.gz
Essentials-a6d60dbc94edda1b58d33c695fef5a2ee7759b79.tar.lz
Essentials-a6d60dbc94edda1b58d33c695fef5a2ee7759b79.tar.xz
Essentials-a6d60dbc94edda1b58d33c695fef5a2ee7759b79.zip
Deprecating the old sign code and adding the new code.
Please test everything without EssentialsProtect. The signs should protect themselves.
Diffstat (limited to 'EssentialsProtect/src')
-rw-r--r--EssentialsProtect/src/com/earth2me/essentials/protect/EssentialsProtectEntityListener.java4
1 files changed, 2 insertions, 2 deletions
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;
- }
+ }*/
}
}