From 51ac5ff0fe1b23e869c32c725e5c0490850ba2a7 Mon Sep 17 00:00:00 2001 From: Sakura Ryoko Date: Fri, 17 Jan 2025 20:25:26 -0500 Subject: [PATCH] Fully fix Easy Place's Black List --- .../fi/dy/masa/tweakeroo/tweaks/PlacementHandler.java | 8 -------- 1 file changed, 8 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 4d030e715..51c5d659d 100644 --- a/src/main/java/fi/dy/masa/tweakeroo/tweaks/PlacementHandler.java +++ b/src/main/java/fi/dy/masa/tweakeroo/tweaks/PlacementHandler.java @@ -241,13 +241,6 @@ public static > BlockState applyPlacementProtocolV3(Bloc { //System.out.printf("[PHv3] check property [%s], whitelisted [%s], blacklisted [%s]\n", p.getName(), WHITELISTED_PROPERTIES.contains(p), BLACKLISTED_PROPERTIES.contains(p)); - if ((property.isPresent() && !property.get().equals(p)) || - (property.isEmpty()) && - WHITELISTED_PROPERTIES.contains(p)) - //WHITELISTED_PROPERTIES.contains(p) && - //!BLACKLISTED_PROPERTIES.contains(p)) - - /* if (property.isPresent() && property.get().equals(p)) { //System.out.printf("[PHv3] skipping prot val: 0x%08X [Property %s]\n", protocolValue, p.getName()); @@ -255,7 +248,6 @@ public static > BlockState applyPlacementProtocolV3(Bloc } else if (WHITELISTED_PROPERTIES.contains(p) && !BLACKLISTED_PROPERTIES.contains(p)) - */ { @SuppressWarnings("unchecked") Property prop = (Property) p;