mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Fixed crash
This commit is contained in:
parent
1f0fc01d20
commit
753be59d95
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ local function drop_xp(pos)
|
|||
local dir = vector.divide(minetest.facedir_to_dir(minetest.get_node(pos).param2),-1.95)
|
||||
local xp = meta:get_int("xp")
|
||||
if xp > 0 then
|
||||
mcl_experience.throw_experience(vector.add(pos, dir), )
|
||||
mcl_experience.throw_experience(vector.add(pos, dir), xp)
|
||||
meta:set_int("xp", 0)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue