mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-26 23:52:31 -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
|
||||
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);
|
||||
out.writeBoolean(this.includeData);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean shouldRunOnGameThread() {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue