Add cosmetic bauble slots and inventory switching

This commit is contained in:
ABKQPO committed 2026-11-07 00:31:48 +08:00
1 parent fb091861c4
commit 24bfb4598c
23 files changed
+547 -11

No files matched your search

@@ -41,6 +41,7 @@ public class SlotBauble extends Slot {
}
public InventoryBaubles getBaublesInventory() {
if (inventory instanceof InventoryBaubleCosmetics cosmetics) return cosmetics.getOwner();
return inventory instanceof InventoryBaubles baubles ? baubles : null;
}
@@ -51,7 +52,7 @@ public class SlotBauble extends Slot {
}
public boolean isCosmeticSlot() {
return false;
return inventory instanceof InventoryBaubleCosmetics;
}
public boolean isSlotActive() {