Add Universal Bauble Type (can go into any slot) (#4)

* Add Universal Bauble Type (can go into any slot)

* remove space
This commit is contained in:
Caedis authored and GitHub committed 2024-08-28 23:42:40 -05:00
1 parent 624c8a74a5
commit da7ab092c8
4 files changed
+40 -35

No files matched your search

@@ -116,7 +116,7 @@ public class ContainerPlayerExpanded extends Container {
types = new String[] {BaubleExpandedSlots.getTypeFromBaubleType(((IBauble)item).getBaubleType(returnStack))};
}
for(String type : types) {
if(type.equals(BaubleExpandedSlots.getSlotType(baubleSlot - 4)) && !mergeItemStack(originalStack, baubleSlot, baubleSlot + 1, false)) {
if((type.equals(BaubleExpandedSlots.universalType) || type.equals(BaubleExpandedSlots.getSlotType(baubleSlot - 4))) && !mergeItemStack(originalStack, baubleSlot, baubleSlot + 1, false)) {
returnStack = null;
}
}