mirror of
https://github.com/GTNewHorizons/BloodArsenal.git
synced 2026-11-20 20:22:19 +00:00
Hopefully fix "ticking world crash
This commit is contained in:
1 parent
e37470040c
commit
e81fd4d5e5
3 files changed
+3
-3
No files matched your search
@@ -66,7 +66,7 @@ public class BloodArsenalEventHooks
|
||||
// ThaumicTinkerer extends Thaumcraft's Fakeplayer, which extends EntityPlayer instead
|
||||
// of Forge's FakePlayer class. That's why the Tinkerer's table crashes here.
|
||||
// With this sanity check any crashes related to that problem should be gone
|
||||
if (GameRegistry.findItem(BloodArsenal.MODID, "glass_helmet") != null && GameRegistry.findItem(BloodArsenal.MODID, "glass_chestplate") != null && GameRegistry.findItem(BloodArsenal.MODID, "glass_leggings") != null && GameRegistry.findItem(BloodArsenal.MODID, "glass_boots") != null && entityAttacked instanceof EntityPlayerMP)
|
||||
// if (GameRegistry.findItem(BloodArsenal.MODID, "glass_helmet") != null && GameRegistry.findItem(BloodArsenal.MODID, "glass_chestplate") != null && GameRegistry.findItem(BloodArsenal.MODID, "glass_leggings") != null && GameRegistry.findItem(BloodArsenal.MODID, "glass_boots") != null && entityAttacked instanceof EntityPlayerMP)
|
||||
{
|
||||
EntityPlayerMP player = (EntityPlayerMP) entityAttacked;
|
||||
|
||||
|
||||
Reference in new issue
Block a user