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")