diff --git a/src/main/kotlin/ru/dbotthepony/mc/otm/network/MatteryPlayerPackets.kt b/src/main/kotlin/ru/dbotthepony/mc/otm/network/MatteryPlayerPackets.kt index c1ff400fc..697e01acb 100644 --- a/src/main/kotlin/ru/dbotthepony/mc/otm/network/MatteryPlayerPackets.kt +++ b/src/main/kotlin/ru/dbotthepony/mc/otm/network/MatteryPlayerPackets.kt @@ -464,6 +464,8 @@ class QuickStackPacket( if (findCaps.isEmpty()) return + findCaps.sortBy { it.first.blockPos.distToCenterSqr(player.position) } + val eyes = player.eyePosition val ignoreBlockstates = HashSet() findCaps.forEach { (b, _) -> ignoreBlockstates.add(b.blockState) }