1 Year Ago
Instead of using the ItemDefinition from the unloadable wagon loot list directly, use its itemID to get the item from the ItemManager. Fixes NRE on itemMods when creating the item, which was caused by the fact that the version of the ItemDefinition directly from the list was never initialized. Curiously, it was initialised in the editor, so this bug only showed up in builds.