2017-06-18 11:23:33 +02:00
|
|
|
--- a/net/minecraft/server/PacketPlayOutWorldBorder.java
|
|
|
|
+++ b/net/minecraft/server/PacketPlayOutWorldBorder.java
|
|
|
|
@@ -18,8 +18,10 @@
|
|
|
|
|
|
|
|
public PacketPlayOutWorldBorder(WorldBorder worldborder, PacketPlayOutWorldBorder.EnumWorldBorderAction packetplayoutworldborder_enumworldborderaction) {
|
|
|
|
this.a = packetplayoutworldborder_enumworldborderaction;
|
|
|
|
- this.c = worldborder.getCenterX();
|
|
|
|
- this.d = worldborder.getCenterZ();
|
|
|
|
+ // CraftBukkit start - multiply out nether border
|
2020-06-25 02:00:00 +02:00
|
|
|
+ this.c = worldborder.getCenterX() * (worldborder.world.getDimensionManager().h() ? 8 : 1);
|
|
|
|
+ this.d = worldborder.getCenterZ() * (worldborder.world.getDimensionManager().h() ? 8 : 1);
|
2017-06-18 11:23:33 +02:00
|
|
|
+ // CraftBukkit end
|
|
|
|
this.f = worldborder.getSize();
|
2019-04-23 04:00:00 +02:00
|
|
|
this.e = worldborder.k();
|
|
|
|
this.g = worldborder.j();
|