mirror of
https://github.com/Sokomine/cottages.git
synced 2026-01-13 04:25:44 +01:00
fixed bug with hud removal
This commit is contained in:
@@ -229,9 +229,9 @@ minetest.register_node("cottages:anvil", {
|
||||
end
|
||||
minetest.after(2, function()
|
||||
if( puncher ) then
|
||||
puncher:hud_remove(hud1);
|
||||
puncher:hud_remove(hud2);
|
||||
puncher:hud_remove(hud3);
|
||||
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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user