Kotatsu-RTM / fixRTM

Fixes some bugs of RTM and make RTM more useful!
Other
0 stars 1 forks source link

DataMap#writeToNBTでConcurrentModificationExceptionが発生する #16

Open Siro256 opened 1 year ago

Siro256 commented 1 year ago

詳細は未確認 発生時のスタックトレースは以下

Stacktrace ``` java.util.ConcurrentModificationException at java.util.HashMap$HashIterator.nextNode(HashMap.java:1469) at java.util.HashMap$EntryIterator.next(HashMap.java:1503) at java.util.HashMap$EntryIterator.next(HashMap.java:1501) at jp.ngt.rtm.modelpack.state.DataMap.writeToNBT(DataMap.java:64) at jp.ngt.rtm.modelpack.state.ResourceState.writeToNBT(ResourceState.java(modified by fixrtm):46) at jp.ngt.rtm.network.PacketSelectResource.(PacketSelectResource.java:28) at jp.ngt.rtm.gui.GuiSelectModel.func_146284_a(GuiSelectModel.java(modified by fixrtm):251) at net.minecraft.client.gui.GuiScreen.func_73864_a(GuiScreen.java:443) at jp.ngt.ngtlib.gui.GuiScreenCustom.func_73864_a(GuiScreenCustom.java(modified by fixrtm):73) at jp.ngt.rtm.gui.GuiSelectModel.func_73864_a(GuiSelectModel.java(modified by fixrtm):224) at net.minecraft.client.gui.GuiScreen.func_146274_d(GuiScreen.java:533) at jp.ngt.rtm.gui.GuiSelectModel.func_146274_d(GuiSelectModel.java(modified by fixrtm):288) at net.minecraft.client.gui.GuiScreen.func_146269_k(GuiScreen.java:501) at net.minecraft.client.Minecraft.func_71407_l(Minecraft.java:1759) at net.minecraft.client.Minecraft.func_71411_J(Minecraft.java:1098) at net.minecraft.client.Minecraft.func_99999_d(Minecraft.java:398) at net.minecraft.client.main.Main.main(SourceFile:123) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at net.minecraft.launchwrapper.Launch.launch(Launch.java:135) at net.minecraft.launchwrapper.Launch.main(Launch.java:28) ```