1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-20 05:21:21 +02:00

Deprecating the old sign code and adding the new code.

Please test everything without EssentialsProtect. The signs should protect themselves.
This commit is contained in:
snowleo
2011-06-26 16:17:45 +02:00
parent 6a6b0b7754
commit 496f2ea19f
6 changed files with 46 additions and 22 deletions

View File

@@ -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;
}
}*/
}
}