From aece28693d65b9034b345d5e814001037df90ace Mon Sep 17 00:00:00 2001 From: Sakura Ryoko Date: Tue, 10 Dec 2024 22:06:17 -0500 Subject: [PATCH] Fix Easy PlacementHandler --- .../java/fi/dy/masa/tweakeroo/tweaks/PlacementHandler.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/fi/dy/masa/tweakeroo/tweaks/PlacementHandler.java b/src/main/java/fi/dy/masa/tweakeroo/tweaks/PlacementHandler.java index 37f7002df..5f357d66c 100644 --- a/src/main/java/fi/dy/masa/tweakeroo/tweaks/PlacementHandler.java +++ b/src/main/java/fi/dy/masa/tweakeroo/tweaks/PlacementHandler.java @@ -232,7 +232,8 @@ public static > BlockState applyPlacementProtocolV3(Bloc { for (Property p : propList) { - if (((p instanceof EnumProperty ep) && ep.getType().equals(Direction.class) == false) && + //if (((p instanceof EnumProperty ep) && ep.getType().equals(Direction.class) == false) && + if (property.isPresent() && !property.get().equals(p) && WHITELISTED_PROPERTIES.contains(p)) { @SuppressWarnings("unchecked")