diff --git a/src/main/java/nl/SBDeveloper/V10Lift/Utils/DirectionUtil.java b/src/main/java/nl/SBDeveloper/V10Lift/Utils/DirectionUtil.java index 4216ce3..5c0168c 100644 --- a/src/main/java/nl/SBDeveloper/V10Lift/Utils/DirectionUtil.java +++ b/src/main/java/nl/SBDeveloper/V10Lift/Utils/DirectionUtil.java @@ -12,7 +12,7 @@ public class DirectionUtil { @Nullable public static BlockFace getDirection(@Nonnull Block block) { - if (block.getBlockData() instanceof Directional && block.getType().toString().contains("WALL_SIGN")) { + if (block.getBlockData() instanceof Directional) { Directional dir = (Directional) block.getBlockData(); return dir.getFacing(); } @@ -20,7 +20,7 @@ public class DirectionUtil { } public static void setDirection(@Nonnull Block block, BlockFace blockFace) { - if (block.getBlockData() instanceof Directional && block.getType().toString().contains("WALL_SIGN")) { + if (block.getBlockData() instanceof Directional) { BlockData bd = block.getBlockData(); Directional dir = (Directional) bd; dir.setFacing(blockFace);