Fix ServerWorldBorderPacket initialization

Seems like these two were flipped around.
This commit is contained in:
Camotoy 2021-01-13 19:58:40 -05:00
parent e1db422a34
commit bf0a6be8fe
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -98,8 +98,8 @@ public class ServerWorldBorderPacket implements Packet {
this.newSize = in.readDouble(); this.newSize = in.readDouble();
this.lerpTime = in.readVarLong(); this.lerpTime = in.readVarLong();
this.newAbsoluteMaxSize = in.readVarInt(); this.newAbsoluteMaxSize = in.readVarInt();
this.warningTime = in.readVarInt();
this.warningBlocks = in.readVarInt(); this.warningBlocks = in.readVarInt();
this.warningTime = in.readVarInt();
} else if(this.action == WorldBorderAction.SET_WARNING_TIME) { } else if(this.action == WorldBorderAction.SET_WARNING_TIME) {
this.warningTime = in.readVarInt(); this.warningTime = in.readVarInt();
} else if(this.action == WorldBorderAction.SET_WARNING_BLOCKS) { } else if(this.action == WorldBorderAction.SET_WARNING_BLOCKS) {