
TANFix - Crash Fixes for Tough as Nails
This addon mod is specifically designed to resolve critical errors that occur in the popular Tough as Nails modification. The mod does not replace the original TAN but works alongside it to ensure stable system operation.
The main issue that TANFix addresses is the ConcurrentModificationException that occurs during player temperature processing. Here is the complete error stack trace:
java.util.ConcurrentModificationException
at java.util.HashMap$HashIterator.nextNode(HashMap.java:1429)
at java.util.HashMap$EntryIterator.next(HashMap.java:1463)
at java.util.HashMap$EntryIterator.next(HashMap.java:1461)
at toughasnails.temperature.TemperatureHandler.update(TemperatureHandler.java:82)
at toughasnails.handler.ExtendedStatHandler.onPlayerTick(ExtendedStatHandler.java:69)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_2647_ExtendedStatHandler_onPlayerTick_PlayerTickEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraftforge.fml.common.FMLCommonHandler.onPlayerPostTick(FMLCommonHandler.java:370)
at net.minecraft.entity.player.EntityPlayer.updateSize(EntityPlayer.java:378)
at net.minecraft.entity.player.EntityPlayer.onUpdate(EntityPlayer.java:288)
at net.minecraft.entity.player.EntityPlayerMP.onUpdateEntity(EntityPlayerMP.java:382)
at net.minecraft.network.NetHandlerPlayServer.update(NetHandlerPlayServer.java:173)
at net.minecraftforge.fml.common.network.handshake.NetworkDispatcher$1.update(NetworkDispatcher.java:209)
at net.minecraft.network.NetworkManager.processReceivedPackets(NetworkManager.java:285)
at net.minecraft.network.NetworkSystem.networkTick(NetworkSystem.java:180)
at net.minecraft.server.MinecraftServer.updateTimeLightAndEntities(MinecraftServer.java:790)
at net.minecraft.server.MinecraftServer.tick(MinecraftServer.java:668)
at net.minecraft.server.integrated.IntegratedServer.tick(IntegratedServer.java:185)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Thread.java:745)
TANFix effectively resolves this issue, preventing sudden game crashes and ensuring smooth gameplay with the Tough as Nails modification.