Fixed bug
This commit is contained in:
parent
1b44d6f7d5
commit
e32594c1af
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user