Fix baubles not being applied on login (#14)

This commit is contained in:
DarkShadow44 authored and GitHub committed 2025-09-19 06:56:27 +02:00
1 parent 0efe4d7541
commit fc27584c13
7 files changed
+66 -17

No files matched your search

@@ -35,11 +35,8 @@ public class ContainerPlayerExpanded extends Container {
public ContainerPlayerExpanded(InventoryPlayer playerInv, boolean isClient, EntityPlayer player) {
this.thePlayer = player;
baubles = new InventoryBaubles(player);
baubles = PlayerHandler.getPlayerBaubles(player);
baubles.setEventHandler(this);
if (isClient) {
baubles.stackList = PlayerHandler.getPlayerBaubles(player).stackList;
}
int i;
int j;