From 2360782234d13d13a72aa846478c43532e198b10 Mon Sep 17 00:00:00 2001 From: Jesse Boyd Date: Sat, 23 Sep 2017 20:09:34 +1000 Subject: [PATCH] * --- .../main/java/com/intellectualcrafters/plot/commands/Set.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Core/src/main/java/com/intellectualcrafters/plot/commands/Set.java b/Core/src/main/java/com/intellectualcrafters/plot/commands/Set.java index 098bbd00c..d36c31555 100644 --- a/Core/src/main/java/com/intellectualcrafters/plot/commands/Set.java +++ b/Core/src/main/java/com/intellectualcrafters/plot/commands/Set.java @@ -88,14 +88,14 @@ public class Set extends SubCommand { } } return false; - } else if (!allowUnsafe && (block.id == 0 || !WorldUtil.IMP.isBlockSolid(block))) { + } else if (!allowUnsafe && (block.id != 0 && !WorldUtil.IMP.isBlockSolid(block))) { MainUtil.sendMessage(player, C.NOT_ALLOWED_BLOCK, block.toString()); return false; } } if (!allowUnsafe) { for (PlotBlock block : blocks) { - if (block.id == 0 || !WorldUtil.IMP.isBlockSolid(block)) { + if (block.id != 0 && !WorldUtil.IMP.isBlockSolid(block)) { MainUtil.sendMessage(player, C.NOT_ALLOWED_BLOCK, block.toString()); return false; }