mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-27 16:12:23 -05:00
Implement missing ticking
This commit is contained in:
parent
0ed0f311f4
commit
052730fd32
2 changed files with 10 additions and 0 deletions
|
@ -15,4 +15,9 @@ public class ServerboundPlayerLoadedPacket implements MinecraftPacket {
|
||||||
@Override
|
@Override
|
||||||
public void serialize(ByteBuf out, MinecraftCodecHelper helper) {
|
public void serialize(ByteBuf out, MinecraftCodecHelper helper) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean shouldRunOnGameThread() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,4 +25,9 @@ public class ServerboundPickItemFromBlockPacket implements MinecraftPacket {
|
||||||
helper.writePosition(out, this.pos);
|
helper.writePosition(out, this.pos);
|
||||||
out.writeBoolean(this.includeData);
|
out.writeBoolean(this.includeData);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public boolean shouldRunOnGameThread() {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue