Raise bad Y auto fix to avoid gameplay issues

Per discussion here, https://github.com/PaperMC/Paper/commit/663fbf798e2ee60791f5489f4c3296145a0a4769#commitcomment-19153154
This commit is contained in:
Zach Brown
2016-09-23 17:25:21 -05:00
parent 731f141042
commit dd0277fdb5
@@ -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
}