MineColonies

MineColonies

57M Downloads

Loot pools with null names added in LootTableLoadEvent

SilentChaos512 opened this issue · 1 comments

commented

Minecolonies version

Version: 0.11.831-ALPHA (also tried 0.11.821-BETA)

Expected behavior

  • Loot tables to load correctly, regardless of how many mods modify them.

Actual behaviour

  • Minecolonies adds pools without setting a name to some vanilla loot tables, causing a NullPointerException the next time a pool is added to that table. This results in empty loot chests, and misleading stacktraces in the log file.
  • I reproduced this with just Minecolonies and Botania, other combinations could get similar results. In this case, the stacktraces show Botania, but Minecolonies needs to fix this (Forge also needs to improve the addPool function, but this needs to be fixed regardless).

Steps to reproduce the problem

  1. Install Minecolonies and Botania (or another mod that modifies the same loot tables)
  2. Run game and load up a world
  3. See errors in the log file

Logs

How To Fix

commented

fixed in newest