But the anvil has a bug. It always crashes the server after completing a repair.
It's not gamebraking and the repair is completed.
Here's the error report.
Would be great if you fix it.
AsyncErr: Lua: Runtime error from mod 'cottages' in callback environment_Step(): /home/rtz/.minetest/mods/cottages/nodes_anvil.lua:233: bad argument #1 to 'hud_remove' (number expected, got nil)
stack traceback:
[C]: in function 'hud_remove'
/home/rtz/.minetest/mods/cottages/nodes_anvil.lua:233: in function 'func'
/usr/share/minetest/builtin/common/after.lua:20: in function </usr/share/minetest/builtin/common/after.lua:5>
/usr/share/minetest/builtin/game/register.lua:431: in function </usr/share/minetest/builtin/game/register.lua:417>
It's quite an easy fix, you can do it for yourself too, until it's gets done by the creator. Just open the file ...\Minetest\mods\cottages\nodes_anvil.lua in some text editor, go to line 233 as indicated in the error report and replace the
minetest.after(2, function()
if( puncher ) then
puncher:hud_remove(hud1);
puncher:hud_remove(hud2);
puncher:hud_remove(hud3);
end
end)
part there with
minetest.after(2, function()
if( puncher ) then
if( hud1 ) then
puncher:hud_remove(hud1);
end
if( hud2 ) then
puncher:hud_remove(hud2);
end
if( hud3 ) then
puncher:hud_remove(hud3);
end
end
end)
and save the file. That's it, you're done, you can now play and use the anvil without the game crashing.
It's nice.
But the anvil has a bug. It always crashes the server after completing a repair. It's not gamebraking and the repair is completed.
Here's the error report. Would be great if you fix it.
AsyncErr: Lua: Runtime error from mod 'cottages' in callback environment_Step(): /home/rtz/.minetest/mods/cottages/nodes_anvil.lua:233: bad argument #1 to 'hud_remove' (number expected, got nil) stack traceback: [C]: in function 'hud_remove' /home/rtz/.minetest/mods/cottages/nodes_anvil.lua:233: in function 'func' /usr/share/minetest/builtin/common/after.lua:20: in function </usr/share/minetest/builtin/common/after.lua:5> /usr/share/minetest/builtin/game/register.lua:431: in function </usr/share/minetest/builtin/game/register.lua:417>
It's quite an easy fix, you can do it for yourself too, until it's gets done by the creator. Just open the file ...\Minetest\mods\cottages\nodes_anvil.lua in some text editor, go to line 233 as indicated in the error report and replace the
part there with
and save the file. That's it, you're done, you can now play and use the anvil without the game crashing.