mirror of
https://github.com/GTNewHorizons/EnderIO.git
synced 2026-11-24 05:54:27 +00:00
Allow Baubles handle SoulBound itself
This commit is contained in:
1 parent
246633ca7b
commit
d5f78ad1f3
1 file changed
+2
-2
@@ -89,7 +89,7 @@ public class EnchantmentSoulBound extends Enchantment implements IAdvancedEnchan
|
||||
// wait for that because gravestone mods also listen to this event. So we have
|
||||
// to fetch Baubles items ourselves here.
|
||||
// For the same reason we cannot put the items into Baubles slots.
|
||||
IInventory baubles = BaublesUtil.instance().getBaubles(evt.entityPlayer);
|
||||
/*IInventory baubles = BaublesUtil.instance().getBaubles(evt.entityPlayer);
|
||||
if (baubles != null) {
|
||||
for (int i = 0; i < baubles.getSizeInventory(); i++) {
|
||||
ItemStack item = baubles.getStackInSlot(i);
|
||||
@@ -99,7 +99,7 @@ public class EnchantmentSoulBound extends Enchantment implements IAdvancedEnchan
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}*/
|
||||
|
||||
// Galacticraft. Again we are too early for those items. We just dump the
|
||||
// stuff into the normal inventory to not have to keep a separate list.
|
||||
|
||||
Reference in new issue
Block a user