From d6ac22aa45a4e9771694799a9997de65bea46b7b Mon Sep 17 00:00:00 2001 From: ManInMyVan Date: Fri, 2 Aug 2024 13:39:09 -0600 Subject: [PATCH] Fix PositionPlace falses with walls --- src/main/java/ac/grim/grimac/checks/type/BlockPlaceCheck.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/ac/grim/grimac/checks/type/BlockPlaceCheck.java b/src/main/java/ac/grim/grimac/checks/type/BlockPlaceCheck.java index f3ccc29f3c..92bcf308c1 100644 --- a/src/main/java/ac/grim/grimac/checks/type/BlockPlaceCheck.java +++ b/src/main/java/ac/grim/grimac/checks/type/BlockPlaceCheck.java @@ -85,7 +85,7 @@ protected SimpleCollisionBox getCombinedBox(final BlockPlace place) { if (weirdBoxes.contains(place.getPlacedAgainstMaterial())) { // Invert the box to give lenience - combined = new SimpleCollisionBox(clicked.getX() + 1, clicked.getY() + 1, clicked.getZ() + 1, clicked.getX(), clicked.getY() + 1.5, clicked.getZ()); + combined = new SimpleCollisionBox(clicked.getX() + 1, clicked.getY() + 1, clicked.getZ() + 1, clicked.getX(), clicked.getY(), clicked.getZ()); } if (buggyBoxes.contains(place.getPlacedAgainstMaterial())) {