pyrollo / display_modpack

Display modpack for Minetest, provides mods with dynamic display and font display : clocks, signs, and more.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

error with steles

Xanthin opened this issue · comments

I get this error with the latest version of your modpack when enabling steles:

2015-12-03 14:09:06: ERROR[Main]: ========== ERROR FROM LUA ===========
2015-12-03 14:09:06: ERROR[Main]: Failed to load and run script from 
2015-12-03 14:09:06: ERROR[Main]: D:\xxx\minetest-0.4.13-c406438-win64\bin\..\mods\display_modpack\steles\init.lua:
2015-12-03 14:09:06: ERROR[Main]: ...06438-win64\bin\..\mods\display_modpack\steles/nodes.lua:20: attempt to index local 'ndef' (a nil value)
2015-12-03 14:09:06: ERROR[Main]: stack traceback:
2015-12-03 14:09:06: ERROR[Main]:   ...06438-win64\bin\..\mods\display_modpack\steles/nodes.lua:20: in main chunk
2015-12-03 14:09:06: ERROR[Main]:   [C]: in function 'dofile'
2015-12-03 14:09:06: ERROR[Main]:   ...406438-win64\bin\..\mods\display_modpack\steles\init.lua:9: in main chunk
2015-12-03 14:09:06: ERROR[Main]: ======= END OF ERROR FROM LUA ========

Thanks for that report. The mod was trying to register nodes made out of non existent materials (marble and granite).

Issue fixed by adding a check on material existence (Commit dc7aea7).

Thanks for the quick fix. Works fine now. :)