Implement missing ticking

This commit is contained in:
AlexProgrammerDE 2024-12-05 08:20:03 +01:00
parent 0ed0f311f4
commit 052730fd32
2 changed files with 10 additions and 0 deletions

View file

@ -15,4 +15,9 @@ public class ServerboundPlayerLoadedPacket implements MinecraftPacket {
@Override
public void serialize(ByteBuf out, MinecraftCodecHelper helper) {
}
@Override
public boolean shouldRunOnGameThread() {
return true;
}
}

View file

@ -25,4 +25,9 @@ public class ServerboundPickItemFromBlockPacket implements MinecraftPacket {
helper.writePosition(out, this.pos);
out.writeBoolean(this.includeData);
}
@Override
public boolean shouldRunOnGameThread() {
return true;
}
}