mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-04 21:01:02 -05:00
Merge pull request #614 from Camotoy/worldborderfix
This commit is contained in:
commit
62721cfe0d
1 changed files with 2 additions and 2 deletions
|
@ -98,8 +98,8 @@ public class ServerWorldBorderPacket implements Packet {
|
|||
this.newSize = in.readDouble();
|
||||
this.lerpTime = in.readVarLong();
|
||||
this.newAbsoluteMaxSize = in.readVarInt();
|
||||
this.warningTime = in.readVarInt();
|
||||
this.warningBlocks = in.readVarInt();
|
||||
this.warningTime = in.readVarInt();
|
||||
} else if(this.action == WorldBorderAction.SET_WARNING_TIME) {
|
||||
this.warningTime = in.readVarInt();
|
||||
} else if(this.action == WorldBorderAction.SET_WARNING_BLOCKS) {
|
||||
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue