From 554929aed350b772fa528746ef2d919bd2cd5650 Mon Sep 17 00:00:00 2001 From: MisterE123 Date: Sat, 27 Feb 2021 11:56:40 -0500 Subject: [PATCH] fix crash --- items.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/items.lua b/items.lua index fbe3454..71d4847 100644 --- a/items.lua +++ b/items.lua @@ -245,7 +245,7 @@ minetest.register_globalstep(function(dtime) player:hud_remove(sumo.push_hud[pl_name]) sumo.push_hud[pl_name] = nil end - if sumo.jump_hud then + if sumo.jump_hud[pl_name] then player:hud_remove(sumo.jump_hud[pl_name]) sumo.jump_hud[pl_name] = nil end