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:
@@ -1,4 +1,9 @@
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.18.1
|
||||
Date: 20. 2. 2020
|
||||
Bug:
|
||||
- Fixed wrong type check (item/recipe)
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 0.18.0
|
||||
Date: 20. 2. 2020
|
||||
Changes:
|
||||
|
||||
8
data.lua
8
data.lua
@@ -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
|
||||
Reference in New Issue
Block a user