Skip to content

Commit

Permalink
Fix rebase fail
Browse files Browse the repository at this point in the history
  • Loading branch information
Avanatiker committed Jun 5, 2023
1 parent d47d22e commit b91b1f8
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions src/main/kotlin/com/lambda/client/util/world/Interact.kt
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,7 @@ private fun SafeClientEvent.getNeighbour(
}
}

if (attempts > 1) {
for (side in sides) {
val newPos = pos.offset(side)
if (!world.isPlaceable(newPos, AxisAlignedBB(newPos))) continue
if (attempts < 2) return null

sides.forEach { posSide ->
val newPos = pos.offset(posSide)
Expand Down

0 comments on commit b91b1f8

Please sign in to comment.