Merge pull request #5 from GTNewHorizons/revert-4-patch-3

Revert "Allow Galacticraft handles SoulBound itself"
This commit is contained in:
Martin Robertz authored and GitHub committed 2018-01-25 09:03:12 +01:00
commit d05257522e
1 file changed
+2 -2
@@ -103,7 +103,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.
/*if (evt.entityPlayer instanceof EntityPlayerMP) {
if (evt.entityPlayer instanceof EntityPlayerMP) {
IInventory galacticraft = GalacticraftUtil.getGCInventoryForPlayer((EntityPlayerMP) evt.entityPlayer);
if (galacticraft != null) {
for (int i = 0; i < galacticraft.getSizeInventory(); i++) {
@@ -115,7 +115,7 @@ public class EnchantmentSoulBound extends Enchantment implements IAdvancedEnchan
}
}
}
}*/
}
}