Tech Reborn

Tech Reborn

30M Downloads

Power tick comod exception.

XakepSDK opened this issue ยท 0 comments

commented
java.util.ConcurrentModificationException
	at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:901)
	at java.util.ArrayList$Itr.next(ArrayList.java:851)
	at techreborn.power.TRPowerNet.tick(TRPowerNet.java:97)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_94_TRPowerNet_tick_PowerTickEvent.invoke(.dynamic)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:185)
	at techreborn.events.TRTickHandler.worldTick(TRTickHandler.java:70)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_57_TRTickHandler_worldTick_WorldTickEvent.invoke(.dynamic)
	at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
	at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:185)
	at net.minecraftforge.fml.common.FMLCommonHandler.onPreWorldTick(FMLCommonHandler.java:282)
	at net.minecraft.server.MinecraftServer.func_71190_q(MinecraftServer.java:705)
	at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:624)
	at net.minecraft.server.integrated.IntegratedServer.func_71217_p(IntegratedServer.java:240)
	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:482)
	at java.lang.Thread.run(Thread.java:745)

https://github.com/TechReborn/TechReborn/blob/1.11.2/src/main/java/techreborn/power/TRPowerNet.java#L97

I made big ring with thermal generators and it crashed, as i put lava cell in last generator.
It was ~130 generators.
Sorry for bad english.
Version: latest from CI.