Fixed bug

This commit is contained in:
Billy S 2019-04-27 14:52:14 -04:00
parent 1b44d6f7d5
commit e32594c1af

View File

@ -7,6 +7,7 @@ function kingdoms.update_hud(p)
if type(p) == "string" then
name = p
player = minetest.get_player_by_name(p)
if player == nil then return end
else
player = p
name = p:get_player_name()