fix almost everything

1. proper sync based on vanilla entity tracker
2. try catch around onPlayerLoad()
3. player reference updating and stale InventoryBaubles pruning
This commit is contained in:
Glease committed 2026-05-04 04:06:12 +08:00
1 parent ec9f32b6fc
commit a00607f9cc
9 files changed
+117 -18

No files matched your search

@@ -129,6 +129,11 @@ public class ContainerPlayerExpanded extends Container {
@Override
public void onContainerClosed(EntityPlayer player) {
super.onContainerClosed(player);
if (baubles != null && baubles.getEventHandler() == this) {
baubles.setEventHandler(null);
}
if (useOldGuiRendering) {
return;
}