From 44d1154984612f191915337a9fb68eafd32541ea Mon Sep 17 00:00:00 2001 From: Wyrrrd Date: Thu, 20 Feb 2020 12:24:11 +0100 Subject: [PATCH] Fixed wrong type check Checked for item instead of recipe --- changelog.txt | 5 +++++ data.lua | 8 ++++---- info.json | 2 +- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/changelog.txt b/changelog.txt index 3210dfd..827ee7a 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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: diff --git a/data.lua b/data.lua index 8f01a58..0f4dd12 100644 --- a/data.lua +++ b/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 \ No newline at end of file diff --git a/info.json b/info.json index 548d85f..fce4dc9 100644 --- a/info.json +++ b/info.json @@ -1,6 +1,6 @@ { "name": "ModuleRequester_RecipeOverride", - "version": "0.18.0", + "version": "0.18.1", "title": "Module Requester Recipe Override", "author": "Wyrrrd", "homepage": "",