ShadMOrdre / lib_materials

Materials library provides new stone types, and attempts to define materials for existing nodes
GNU Lesser General Public License v2.1
4 stars 3 forks source link

attempt to index global 'lib_mg_continental' #9

Open DomtronVox opened 3 years ago

DomtronVox commented 3 years ago

simple fix. looks like current master has a typo at line 28.

lib_mg_continental.intllib = S

Should probably be:

lib_materials.intllib = S

Ygarr commented 2 years ago

https://github.com/ShadMOrdre/lib_materials/issues/11

Ygarr commented 2 years ago

after this fix got

2021-12-28 18:23:47: [Main]: [MOD] lib_materials:  Loading...
2021-12-28 18:23:47: ERROR[Main]: ModError: Failed to load and run script from /mnt/MAHDATA/sft2/minetest-5.4.1/bin/../mods/lib_materials/init.lua:
2021-12-28 18:23:47: ERROR[Main]: ...bin/../mods/lib_shapes/lib_shapes_register_set_basic.lua:26: attempt to index local 'shape_def' (a nil value)
2021-12-28 18:23:47: ERROR[Main]: stack traceback:
2021-12-28 18:23:47: ERROR[Main]:   ...bin/../mods/lib_shapes/lib_shapes_register_set_basic.lua:26: in function 'register_node'
2021-12-28 18:23:47: ERROR[Main]:   ..../mods/lib_materials/lib_materials_node_registration.lua:1048: in main chunk
2021-12-28 18:23:47: ERROR[Main]:   [C]: in function 'dofile'
2021-12-28 18:23:47: ERROR[Main]:   ...A/sft2/minetest-5.4.1/bin/../mods/lib_materials/init.lua:147: in main chunk
2021-12-28 18:23:47: ERROR[Main]: Check debug.txt for details.
2021-12-28 18:23:47: ACTION[Main]: Server: Shutting down