This commit is contained in:
kepler155c
2018-10-26 06:19:34 -04:00
parent 2be14cdd43
commit 6dde2245a6
14 changed files with 133 additions and 74 deletions

View File

@@ -188,6 +188,7 @@ function Craft.craftRecipeInternal(recipe, count, inventoryAdapter, origItem)
if canCraft == 0 then
local resourceList = Craft.getResourceList(recipe, items, count)
_G._p2 = resourceList
for k,v in pairs(resourceList) do
if v.need > 0 then
if not origItem.ingredients[k] then