mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-28 20:27:30 +01:00
Fix wrong player name accessor.
* Duh..
This commit is contained in:
parent
14da059ce7
commit
1b99b73894
@ -71,7 +71,7 @@ local function on_leaveplayer(player)
|
||||
-- For some unexplained reasons, mcl_burning.storage can be `nil` here.
|
||||
-- Logging this exception to assist in finding the cause of this.
|
||||
minetest.log("warning", "on_leaveplayer: missing mcl_burning.storage "
|
||||
.. "for player " .. player.name)
|
||||
.. "for player " .. player:get_player_name())
|
||||
storage = {}
|
||||
end
|
||||
storage.fire_hud_id = nil
|
||||
|
Loading…
Reference in New Issue
Block a user