1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-02-23 04:58:28 +01:00

Raise bad Y auto fix to avoid gameplay issues

Per discussion here, 663fbf798e (commitcomment-19153154)
This commit is contained in:
Zach Brown 2016-09-23 17:25:21 -05:00
parent 731f141042
commit dd0277fdb5

View file

@ -13,7 +13,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
}
}
+ if (this.locY > 300) this.locY = 200; // Paper - bring down to a saner Y level if out of world
+ if (this.locY > 300) this.locY = 257; // Paper - bring down to a saner Y level if out of world
this.getBukkitEntity().readExtraData(nbttagcompound); // CraftBukkit
}