Hopefully stop placing of block in front of signs
This commit is contained in:
parent
b54c7ce62f
commit
a27e1bd017
@ -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()) {
|
||||
|
Loading…
Reference in New Issue
Block a user