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,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:

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

View File

@@ -1,6 +1,6 @@
{
"name": "ModuleRequester_RecipeOverride",
"version": "0.18.0",
"version": "0.18.1",
"title": "Module Requester Recipe Override",
"author": "Wyrrrd",
"homepage": "",