Update to Minecraft 1.16.1

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2020-06-25 10:00:00 +10:00
parent 3862d2811e
commit 50503fd516
424 changed files with 5960 additions and 5636 deletions

View File

@@ -7,8 +7,8 @@
- this.c = worldborder.getCenterX();
- this.d = worldborder.getCenterZ();
+ // CraftBukkit start - multiply out nether border
+ this.c = worldborder.getCenterX() * (worldborder.world.worldProvider instanceof WorldProviderHell ? 8 : 1);
+ this.d = worldborder.getCenterZ() * (worldborder.world.worldProvider instanceof WorldProviderHell ? 8 : 1);
+ this.c = worldborder.getCenterX() * (worldborder.world.getDimensionManager().h() ? 8 : 1);
+ this.d = worldborder.getCenterZ() * (worldborder.world.getDimensionManager().h() ? 8 : 1);
+ // CraftBukkit end
this.f = worldborder.getSize();
this.e = worldborder.k();