From 142b41cabbe0986c0bca736760c0f38dc4e6fd87 Mon Sep 17 00:00:00 2001 From: Sakura Ryoko Date: Mon, 16 Dec 2024 22:37:29 -0500 Subject: [PATCH] fix: Easy Place V3 for AXIS blocks --- .../java/fi/dy/masa/tweakeroo/tweaks/PlacementHandler.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 5f357d66c..64a05dea0 100644 --- a/src/main/java/fi/dy/masa/tweakeroo/tweaks/PlacementHandler.java +++ b/src/main/java/fi/dy/masa/tweakeroo/tweaks/PlacementHandler.java @@ -232,8 +232,8 @@ public static > BlockState applyPlacementProtocolV3(Bloc { for (Property p : propList) { - //if (((p instanceof EnumProperty ep) && ep.getType().equals(Direction.class) == false) && - if (property.isPresent() && !property.get().equals(p) && + if ((property.isPresent() && !property.get().equals(p)) || + (property.isEmpty()) && WHITELISTED_PROPERTIES.contains(p)) { @SuppressWarnings("unchecked")