1
0
mirror of https://github.com/Wyrrrd/ModuleRequester_RecipeOverride.git synced 2026-02-18 16:40:23 +01:00

Fixed wrong type check

Checked for item instead of recipe
This commit is contained in:
Wyrrrd
2020-02-20 12:24:11 +01:00
parent c623133e7c
commit 44d1154984
3 changed files with 10 additions and 5 deletions

View File

@@ -1,12 +1,12 @@
if data.raw.item["speed-module-requestor"] then
if data.raw.recipe["speed-module-requestor"] then
data.raw.recipe["speed-module-requestor"].ingredients = {}
end
if data.raw.item["efficiency-module-requestor"] then
if data.raw.recipe["efficiency-module-requestor"] then
data.raw.recipe["efficiency-module-requestor"].ingredients = {}
end
if data.raw.item["productivity-module-requestor"] then
if data.raw.recipe["productivity-module-requestor"] then
data.raw.recipe["productivity-module-requestor"].ingredients = {}
end
if data.raw.item["custom-module-requestor"] then
if data.raw.recipe["custom-module-requestor"] then
data.raw.recipe["custom-module-requestor"].ingredients = {}
end