Loot Bag

Loot Bag

159k Downloads

Possible incompatibility with KubeJS.

ChaosCron1 opened this issue ยท 0 comments

commented
---- Minecraft Crash Report ----
// Don't be sad, have a hug! <3

Time: 2/11/23, 9:54 AM
Description: Exception in server tick loop

java.lang.RuntimeException: Attempted to modify LootTable after being finalized!
	at net.minecraft.world.level.storage.loot.LootTable.checkFrozen(LootTable.java:190) ~[client-1.18.2-20220404.173914-srg.jar%23181!/:?] {re:mixin,re:classloading,pl:mixin:A}
	at net.minecraft.world.level.storage.loot.LootTable.addPool(LootTable.java:216) ~[client-1.18.2-20220404.173914-srg.jar%23181!/:?] {re:mixin,re:classloading,pl:mixin:A}
	at dev.architectury.event.forge.LootTableModificationContextImpl.addPool(LootTableModificationContextImpl.java:35) ~[architectury-4.9.84-forge.jar%2360!/:?] {re:classloading}
	at timefall.mcsa.init.LootInit.lambda$init$0(LootInit.java:63) ~[mcsa-3.0.1-forge.jar%23131!/:?] {re:classloading}
	at dev.architectury.event.forge.EventHandlerImplCommon.event(EventHandlerImplCommon.java:430) ~[architectury-4.9.84-forge.jar%2360!/:?] {re:classloading}
	at net.minecraftforge.eventbus.ASMEventHandler_339_EventHandlerImplCommon_event_LootTableLoadEvent.invoke(.dynamic) ~[?:?] {}
	at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-5.0.3.jar%232!/:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!/:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!/:?] {}
	at cn.rainspace.lootbag.LootBag$WorldEvents.lambda$onLoad$0(LootBag.java:75) ~[LootBag-1.18.2-1.2.2-Beta.jar%23124!/:1.18.2-1.2.2-Beta] {re:classloading}
	at java.lang.Iterable.forEach(Iterable.java:75) ~[?:?] {re:mixin}
	at java.util.Collections$UnmodifiableCollection.forEach(Collections.java:1092) ~[?:?] {}
	at cn.rainspace.lootbag.LootBag$WorldEvents.onLoad(LootBag.java:74) ~[LootBag-1.18.2-1.2.2-Beta.jar%23124!/:1.18.2-1.2.2-Beta] {re:classloading}
	at net.minecraftforge.eventbus.ASMEventHandler_523_WorldEvents_onLoad_Load.invoke(.dynamic) ~[?:?] {}
	at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-5.0.3.jar%232!/:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-5.0.3.jar%232!/:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-5.0.3.jar%232!/:?] {}
	at net.minecraft.server.MinecraftServer.m_129815_(MinecraftServer.java:361) ~[client-1.18.2-20220404.173914-srg.jar%23181!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:MinecraftServerMixin,pl:mixin:APP:kubejs-common.mixins.json:inject_resources.MinecraftServerMixin,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:globaldataandresourcepacks.mixins.json:PackConfigurationMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_130006_(MinecraftServer.java:316) ~[client-1.18.2-20220404.173914-srg.jar%23181!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:MinecraftServerMixin,pl:mixin:APP:kubejs-common.mixins.json:inject_resources.MinecraftServerMixin,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:globaldataandresourcepacks.mixins.json:PackConfigurationMixin,pl:mixin:A}
	at net.minecraft.client.server.IntegratedServer.m_7038_(IntegratedServer.java:64) ~[client-1.18.2-20220404.173914-srg.jar%23181!/:?] {re:classloading,pl:runtimedistcleaner:A}
	at net.minecraft.server.MinecraftServer.m_130011_(MinecraftServer.java:661) ~[client-1.18.2-20220404.173914-srg.jar%23181!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:MinecraftServerMixin,pl:mixin:APP:kubejs-common.mixins.json:inject_resources.MinecraftServerMixin,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:globaldataandresourcepacks.mixins.json:PackConfigurationMixin,pl:mixin:A}
	at net.minecraft.server.MinecraftServer.m_177918_(MinecraftServer.java:261) ~[client-1.18.2-20220404.173914-srg.jar%23181!/:?] {re:mixin,pl:accesstransformer:B,re:classloading,pl:accesstransformer:B,pl:mixin:APP:kubejs-common.mixins.json:MinecraftServerMixin,pl:mixin:APP:kubejs-common.mixins.json:inject_resources.MinecraftServerMixin,pl:mixin:APP:balm.mixins.json:MinecraftServerMixin,pl:mixin:APP:globaldataandresourcepacks.mixins.json:PackConfigurationMixin,pl:mixin:A}
	at java.lang.Thread.run(Thread.java:833) [?:?] {}