Injection of unnamed loot pool
evhub opened this issue ยท 1 comments
This mod crashes when combined with @Extegral's Enigmatic Legacy due to that mod purposefully crashing when it finds unnamed loot pools, as unnamed loot pools prevent proper loot generation. See this crash report, which locates the issue to com.github.thegoldcrayon.tgcropesmod.EventHandler.onLootLoad
(and I have confirmed that the issue goes away when tgcropesmod
is removed). I am using tgcropesmod-1.16.2-1.1.0
on forge 1.16.4-35.1.36
.
Basically, this line of code:
You should always name LootPool
s you inject by calling LootPool.Builder#name(String)
. Set it to whatever, just make sure that whatever is not null
. Otherwise you will cause an error state if any other mod attempts to inject to the same table, which in turn leads to no loot being generated from affected loot table.