Hopefully stop placing of block in front of signs

This commit is contained in:
Drakia 2011-04-25 21:34:05 -07:00
parent b54c7ce62f
commit a27e1bd017

View File

@ -394,6 +394,7 @@ public class Stargate extends JavaPlugin {
// Cycle through a stargates locations
if (portal != null) {
event.setUseItemInHand(Result.DENY);
event.setUseInteractedBlock(Result.DENY);
if (!hasPerm(player, "stargate.use", true) ||
(networkFilter && !hasPerm(player, "stargate.network." + portal.getNetwork(), player.isOp()))) {
if (!denyMsg.isEmpty()) {