forked from VoxeLibre/VoxeLibre
fix recovery compass overwriting every other item
This commit is contained in:
parent
7f59611914
commit
7d57e73ae4
|
@ -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 New Issue