1
0
mirror of https://github.com/essentials/Essentials.git synced 2025-08-12 01:25:26 +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 fa5d6fbfae
commit a6d60dbc94
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;
}
}*/
}
}