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
function pm.node_sound_defaults(table)
table = table or {}
table.footstep = table.footstep or
{name = "pm_block_step", gain = 1.0}
table.dug = table.dug or
{name = "pm_block_dug", gain = 0.25}
return table
end
From the debug.txt:
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
========== ERROR FROM LUA ===========
2016-03-29 22:31:15: ERROR[main]: Failed to load and run script from
2016-03-29 22:31:15: ERROR[main]: C:\Games\Minetest\bin\..\mods\pm\init.lua:
2016-03-29 22:31:15: ERROR[main]: C:\Games\Minetest\bin\..\mods\pm/sounds.lua:1: attempt to index global 'pm' (a nil value)
2016-03-29 22:31:15: ERROR[main]: stack traceback:
2016-03-29 22:31:15: ERROR[main]: C:\Games\Minetest\bin\..\mods\pm/sounds.lua:1: in main chunk
2016-03-29 22:31:15: ERROR[main]: [C]: in function 'dofile'
2016-03-29 22:31:15: ERROR[main]: C:\Games\Minetest\bin\..\mods\pm\init.lua:1: in main chunk
2016-03-29 22:31:15: ERROR[main]: ======= END OF ERROR FROM LUA ========
2016-03-29 22:31:15: ERROR[main]: Server: Failed to load and run C:\Games\Minetest\bin\..\mods\pm\init.lua
2016-03-29 22:31:15: ERROR[main]: ModError: ModError: Failed to load and run C:\Games\Minetest\bin\..\mods\pm\init.lua
2016-03-29 22:31:15: ERROR[main]: Error from Lua:
2016-03-29 22:31:15: ERROR[main]: C:\Games\Minetest\bin\..\mods\pm/sounds.lua:1: attempt to index global 'pm' (a nil value)
2016-03-29 22:31:15: ERROR[main]: stack traceback:
2016-03-29 22:31:15: ERROR[main]: C:\Games\Minetest\bin\..\mods\pm/sounds.lua:1: in main chunk
2016-03-29 22:31:15: ERROR[main]: [C]: in function 'dofile'
2016-03-29 22:31:15: ERROR[main]: C:\Games\Minetest\bin\..\mods\pm\init.lua:1: in main chunk
2016-03-29 22:31:15: ERROR[main]: Check debug.txt for details.
I'm not understanding what I've done wrong, so can you help me please?
~ The Royal Raincow Dash