Strange Mod Error


#1

Trying to update my Bunny mod, and I started getting this:

release-763 (x64)[M]
Uncaught TypeError: Cannot read property ‘level_requirement’ of undefined
TypeError: Cannot read property ‘level_requirement’ of undefined
at http://radiant/stonehearth/ui/game/modes/build_mode/building_designer_2/place_floor_deco_tool.js:138:35
at Object. (http://radiant/radiant/js/radiant/object.js:300:19)
at Function.each (http://radiant/stonehearth/ui/root/js/libs/jquery-1.10.2.min.js:4:5401)
at Object.radiant.each (http://radiant/radiant/js/radiant/object.js:298:15)
at http://radiant/stonehearth/ui/game/modes/build_mode/building_designer_2/place_floor_deco_tool.js:136:30
at Object. (http://radiant/radiant/js/radiant/object.js:300:19)
at Function.each (http://radiant/stonehearth/ui/root/js/libs/jquery-1.10.2.min.js:4:5401)
at Object.radiant.each (http://radiant/radiant/js/radiant/object.js:298:15)
at http://radiant/stonehearth/ui/game/modes/build_mode/building_designer_2/place_floor_deco_tool.js:135:27
at n. (http://radiant/radiant/js/radiant/object.js:300:19)


Unfortunately I know it is tied to my mod, as turning off TBCM stops producing the error. However, I can’t readily trace it to a source. I checked all my recipes, none of them should be the source; I even removed the level requirement perimeter from all new recipes, and it still threw it.

Halp!


#2

Bug has been solved. Seemed to be an issue with recipes calling files not existing. :slight_smile:


#3

My hero!