minetest-mods / nether

Nether mod for Minetest
https://forum.minetest.net/viewtopic.php?f=11&t=5790
19 stars 28 forks source link

Unknown node: stairs:stair_cobble #21

Open Golutazem opened 4 years ago

Golutazem commented 4 years ago
ModError: Failed to load and run script from ~/.minetest/mods/nether/init.lua:
Unknown node: stairs:stair_cobble
stack traceback:
    [C]: in function 'get_content_id'
    ~/.minetest/mods/nether/mapgen.lua:78: in main chunk
    [C]: in function 'dofile'
    ~/.minetest/mods/nether/init.lua:59: in main chunk

When launching a world, I am running the most recent version of https://notabug.org/TenPlus1/stairs and 5.2.0 of Minetest and its game.

Treer commented 4 years ago

sfan5 has merged the fix for this to Minetest. This should be fixed now in bleeding edge versions of Minetest.

It's caused by moreblocks + MT5.2. There's a pull request to sidestep it here

@ SmallJoker do you know whether this engine issue (get_content_id() being sometimes incompatible with register_aliase_force()) is off the minetest dev's radar, and so nether should just check whether anything it uses has been aliased before trying to use it (PR #20)?

I suspect the minetest devs think any 5.2 bug with the word "get_content_id()" is coming from blocks that were misspelled or never registered, and don't realise aliases in other mods can intermittently cause it.