mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-22 18:41:09 +01:00
fix recovery compass overwriting every other item
This commit is contained in:
parent
7f59611914
commit
7d57e73ae4
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ minetest.register_globalstep(function(dtime)
|
||||||
end
|
end
|
||||||
inv:set_stack("main", j, stack)
|
inv:set_stack("main", j, stack)
|
||||||
end
|
end
|
||||||
else
|
elseif compass_nr ~= 0 then
|
||||||
local meta = player:get_meta()
|
local meta = player:get_meta()
|
||||||
local posstring = meta:get_string("mcl_compass:recovery_pos")
|
local posstring = meta:get_string("mcl_compass:recovery_pos")
|
||||||
if not posstring or posstring == "" then
|
if not posstring or posstring == "" then
|
||||||
|
|
Loading…
Reference in a new issue