Signed-off-by: tenplus1 <kinsellaja@yahoo.com>

This commit is contained in:
tenplus1 2021-07-13 20:57:56 +01:00
parent f83ee21cac
commit ec07a652b0

View File

@ -574,7 +574,7 @@ function stamina.eat(hp_change, replace_with_item, itemstack, user, pointed_thin
else
local pos = user:get_pos()
core.add_item(pos, replace_with_item)
if pos then core.add_item(pos, replace_with_item) end
end
end
end