mirror of
https://github.com/GTNewHorizons/ForbiddenMagic.git
synced 2026-11-24 05:44:40 +00:00
Added config to disable Infernalism
This commit is contained in:
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)
|
||||
|
||||
Reference in new issue
Block a user