Fix write as well

This commit is contained in:
Camotoy 2021-01-13 23:30:50 -05:00
parent bf0a6be8fe
commit b0b83242ea
No known key found for this signature in database
GPG key ID: 7EEFB66FE798081F

View file

@ -126,8 +126,8 @@ public class ServerWorldBorderPacket implements Packet {
out.writeDouble(this.newSize);
out.writeVarLong(this.lerpTime);
out.writeVarInt(this.newAbsoluteMaxSize);
out.writeVarInt(this.warningTime);
out.writeVarInt(this.warningBlocks);
out.writeVarInt(this.warningTime);
} else if(this.action == WorldBorderAction.SET_WARNING_TIME) {
out.writeVarInt(this.warningTime);
} else if(this.action == WorldBorderAction.SET_WARNING_BLOCKS) {