IIIullaIII / CANNABIS_MOD

THE HEMP MOD
Other
3 stars 0 forks source link

The mod crashes when enabled. #4

Open Andrey2470T opened 4 years ago

Andrey2470T commented 4 years ago

I have downloaded the new version of the mod, however this and the old both cause the following error:

2020-07-09 23:37:55: ERROR[Main]: ModError: Failed to load and run script from /home/andrey/minetest-5.3.0-dev/bin/../mods/cannabis/init.lua: 2020-07-09 23:37:55: ERROR[Main]: .../minetest-5.3.0-dev/bin/../builtin/game/register.lua:182: bad argument #-1 to 'register_item_raw' (table expected, got string) 2020-07-09 23:37:55: ERROR[Main]: stack traceback: 2020-07-09 23:37:55: ERROR[Main]: [C]: in function 'register_item_raw' 2020-07-09 23:37:55: ERROR[Main]: .../minetest-5.3.0-dev/bin/../builtin/game/register.lua:182: in function 'register_item' 2020-07-09 23:37:55: ERROR[Main]: .../minetest-5.3.0-dev/bin/../builtin/game/register.lua:208: in function 'register_node' 2020-07-09 23:37:55: ERROR[Main]: ...y/minetest-5.3.0-dev/bin/../mods/cannabis/canapa.lua:5: in main chunk 2020-07-09 23:37:55: ERROR[Main]: [C]: in function 'dofile' 2020-07-09 23:37:55: ERROR[Main]: ...rey/minetest-5.3.0-dev/bin/../mods/cannabis/init.lua:23: in main chunk 2020-07-09 23:37:55: ERROR[Main]: Check debug.txt for details.

It happens in 'minetest.register_node' call and however as I see your passed arguments are correct.

IIIullaIII commented 3 years ago

Forgive me for the super late response to what version of the mod do you refer to ? I have updated the mod remember that it was a stupid problem but I don’t remember which XD I use it also in my server now also in the 5.4 ,if you have not solved let me know