Skip to content

Commit

Permalink
Merge pull request #1625 from ManInMyVan/fix/positionplace
Browse files Browse the repository at this point in the history
Fix PositionPlace falses with walls/fences/lecterns
  • Loading branch information
SamB440 authored Aug 10, 2024
2 parents 4bed626 + d6ac22a commit 1222db1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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())) {
Expand Down

0 comments on commit 1222db1

Please sign in to comment.