mirror of
https://github.com/GTNewHorizons/Baubles-Expanded.git
synced 2026-10-25 20:22:26 +00:00
After clearing, get new baubles inventory instead of working with old one (#15)
This commit is contained in:
1 parent
ec5a92a4ad
commit
4d4fc3a2ae
1 file changed
+1
@@ -64,6 +64,7 @@ public class PacketSyncBauble implements IMessage, IMessageHandler<PacketSyncBau
|
||||
if (message.initial) {
|
||||
if (message.slot == 0) {
|
||||
PlayerHandler.clearClientPlayerBaubles();
|
||||
baubles = PlayerHandler.getPlayerBaubles(player);
|
||||
}
|
||||
baubles.stackList[message.slot] = message.bauble;
|
||||
if (message.bauble != null && message.bauble.getItem() instanceof IBauble itemBauble) {
|
||||
|
||||
Reference in new issue
Block a user