mirror of
https://github.com/GTNewHorizons/Baubles-Expanded.git
synced 2026-11-14 01:04:01 +00:00
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:
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;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user