Remove "Auto fix bad Y levels on player login" patch

Fixes #6357
Closes #6508
Closes #6358
This commit is contained in:
Nassim Jahnke
2021-09-03 19:57:21 +02:00
parent 4433d23cc1
commit 48d72eb439
2 changed files with 1 additions and 20 deletions

View File

@@ -38,7 +38,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
double d3 = d0 * d0 + d1 * d1 + d2 * d2;
if (d3 > 36.0D) {
+ if (d3 < 80 * 80) // Paper - Don't notify if unreasonably far away
+ if (true) return; // Paper - Don't notify if unreasonably far away
this.player.connection.send(new ClientboundBlockBreakAckPacket(pos, this.level.getBlockState(pos), action, false, "too far"));
} else if (pos.getY() >= worldHeight) {
this.player.connection.send(new ClientboundBlockBreakAckPacket(pos, this.level.getBlockState(pos), action, false, "too high"));