#198 Fix a crash, step 26

This commit is contained in:
kay27 2022-02-17 05:25:05 +04:00
parent 21fc69efa5
commit 11c55cce29
1 changed files with 1 additions and 0 deletions

View File

@ -157,6 +157,7 @@ function mcl_experience.throw_xp(pos, total_xp)
end
function mcl_experience.update(player)
if not mcl_util or not mcl_util.is_player(player) then return end
local xp = mcl_experience.get_xp(player)
local cache = caches[player]