fix recovery compass overwriting every other item

This commit is contained in:
chmodsayshello 2022-12-02 15:43:08 +01:00
parent 7f59611914
commit 7d57e73ae4

View file

@ -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