Added config to disable Infernalism

This commit is contained in:
Jeremy Diamond committed 2014-02-03 18:37:08 -08:00
1 parent 63e0429022
commit 24b0e7e919
8 files changed
+80 -50

No files matched your search

@@ -136,7 +136,7 @@ public class FMEventHandler
}
}
if (event.entityLiving.worldObj.provider.dimensionId != -1)
if (Config.noHell || event.entityLiving.worldObj.provider.dimensionId != -1)
return;
if (!event.recentlyHit || event.source.getEntity() == null || !(event.source.getEntity() instanceof EntityPlayer)