fluxionary / minetest-moreblocks

More Blocks
https://content.minetest.net/packages/Calinou/moreblocks/
Other
3 stars 2 forks source link

crash w/ darkage #5

Closed fluxionary closed 2 years ago

fluxionary commented 2 years ago

w/ some debugging info

2022-06-15 17:23:51: ERROR[Main]: ModError: Failed to load and run script from /opt/minetest/bin/../worlds/your-land/worldmods/darkage/init.lua:
2022-06-15 17:23:51: ERROR[Main]: ...s/your-land/worldmods/moreblocks/stairsplus/api/node.lua:184: WTF "table" "{\
2022-06-15 17:23:51: ERROR[Main]: \9max_items = 1,\
2022-06-15 17:23:51: ERROR[Main]: \9items = {\
2022-06-15 17:23:51: ERROR[Main]: \9\9{\
2022-06-15 17:23:51: ERROR[Main]: \9\9\9items = {\
2022-06-15 17:23:51: ERROR[Main]: \9\9\9\9\"darkage:basalt_rubble\"\
2022-06-15 17:23:51: ERROR[Main]: \9\9\9},\
2022-06-15 17:23:51: ERROR[Main]: \9\9\9rarity = 3\
2022-06-15 17:23:51: ERROR[Main]: \9\9},\
2022-06-15 17:23:51: ERROR[Main]: \9\9{\
2022-06-15 17:23:51: ERROR[Main]: \9\9\9items = {\
2022-06-15 17:23:51: ERROR[Main]: \9\9\9\9\"darkage:basalt\"\
2022-06-15 17:23:51: ERROR[Main]: \9\9\9}\
2022-06-15 17:23:51: ERROR[Main]: \9\9}\
2022-06-15 17:23:51: ERROR[Main]: \9}\
2022-06-15 17:23:51: ERROR[Main]: }"
2022-06-15 17:23:51: ERROR[Main]: stack traceback:
2022-06-15 17:23:51: ERROR[Main]:   [C]: in function 'error'
2022-06-15 17:23:51: ERROR[Main]:   ...s/your-land/worldmods/moreblocks/stairsplus/api/node.lua:184: in function 'format_name'
2022-06-15 17:23:51: ERROR[Main]:   ...s/your-land/worldmods/moreblocks/stairsplus/api/node.lua:381: in function 'get_shaped_node'
2022-06-15 17:23:51: ERROR[Main]:   ...s/your-land/worldmods/moreblocks/stairsplus/api/node.lua:266: in function 'register_single'
2022-06-15 17:23:51: ERROR[Main]:   ...s/your-land/worldmods/moreblocks/stairsplus/api/node.lua:203: in function 'register_single'
2022-06-15 17:23:51: ERROR[Main]:   ...s/your-land/worldmods/moreblocks/stairsplus/api/node.lua:349: in function 'register_group'
2022-06-15 17:23:51: ERROR[Main]:   ...r-land/worldmods/moreblocks/stairsplus/compat/legacy.lua:10: in function 'register_all'
2022-06-15 17:23:51: ERROR[Main]:   .../worlds/your-land/worldmods/darkage/stairs_functions.lua:13: in function 'register_stairs'
2022-06-15 17:23:51: ERROR[Main]:   ...est/bin/../worlds/your-land/worldmods/darkage/stairs.lua:3: in main chunk
2022-06-15 17:23:51: ERROR[Main]:   [C]: in function 'dofile'
2022-06-15 17:23:51: ERROR[Main]:   ...etest/bin/../worlds/your-land/worldmods/darkage/init.lua:20: in main chunk
fluxionary commented 2 years ago

correctly check whether the drop is a string. ignore drop tables.