Skip to content

Commit a16f740

Browse files
committed
compatibility with non-gtnh baubles
simulate pseudo universal item
1 parent 82caaaa commit a16f740

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/main/java/com/zerofall/ezstorage/item/ItemPortableStoragePanel.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,9 @@ public void onWornTick(ItemStack itemStack, EntityLivingBase player) {
339339
@Override
340340
@Method(modid = "Baubles|Expanded")
341341
public String[] getBaubleTypes(ItemStack itemStack) {
342-
return new String[] { BaubleExpandedSlots.universalType };
342+
// TODO: Remove non-universal types after universal got upstreamed to jss' fork
343+
return new String[] { BaubleExpandedSlots.universalType, BaubleExpandedSlots.amuletType,
344+
BaubleExpandedSlots.ringType, BaubleExpandedSlots.beltType };
343345
}
344346

345347
@Method(modid = "Baubles")

0 commit comments

Comments
 (0)