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