1
0
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:
Sokomine
2021-02-23 23:26:53 +01:00
parent 8cfaaed308
commit 3dec7bf200
2 changed files with 10 additions and 10 deletions

View File

@@ -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)