sorcery  Diff

Differences From Artifact [6661143040]:

To Artifact [829a9ad70b]:


  1118   1118   								-- end
  1119   1119   								minetest.get_meta(npos):from_table(origmeta)
  1120   1120   								return npos, true
  1121   1121   							else
  1122   1122   								local nstack = ItemStack(ty)
  1123   1123   								nstack:get_meta():from_table(origmeta)
  1124   1124   								local leftover = ctx.caster:get_inventory():add_item('main',nstack)
  1125         -								if leftover and not leftover.is_empty() then
         1125  +								if leftover and not leftover:is_empty() then
  1126   1126   									minetest.add_item(ctx.caster:get_pos(), leftover)
  1127   1127   								end
  1128   1128   							end
  1129   1129   						end
  1130   1130   					else
  1131   1131   						return false
  1132   1132   					end