Page 1 of 1

default.node_sounds

PostPosted: Fri Jun 21, 2013 17:55
by Evergreen
I have been having trouble with node sounds. Take the moonflower mod for instance.
Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
13:51:19: ERROR[main]: ...ett/Desktop/Minetest/bin/../mods/moonflower/init.lua:20: attempt to index global 'default' (a nil value)
13:51:19: ERROR[main]: stack traceback:
13:51:19: ERROR[main]:     ...ett/Desktop/Minetest/bin/../mods/moonflower/init.lua:20: in main chunk
13:51:19: ERROR[main]: =======END OF ERROR FROM LUA ========
13:51:19: ERROR[main]: Server: Failed to load and run /home/everett/Desktop/Minetest/bin/../mods/moonflower/init.lua
13:51:19: ERROR[main]: ModError: Failed to load and run /home/everett/Desktop/Minetest/bin/../mods/moonflower/init.lua

For some reason it isn't accepting the "default" tag in front. I also was noticing that while trying to add custom node sounds to my trash_can mod.

PostPosted: Fri Jun 21, 2013 18:07
by kaeza
Add 'default' to depends.txt

PostPosted: Fri Jun 21, 2013 18:17
by Evergreen
kaeza wrote:Add 'default' to depends.txt
*facepalm* Thanks. :P