From bff651887148a2fbb5274d0d04c5ed7e49bd58d1 Mon Sep 17 00:00:00 2001 From: bzoss Date: Mon, 8 Jun 2020 17:38:02 -0400 Subject: [PATCH] Revert "Fix Redstone alias issue. Defined local variable "brew_output"." This reverts commit 0959c15c34fc0c34a88dde5b92dda38c849a03bd. --- mods/ITEMS/mcl_brewing/init.lua | 2 +- mods/ITEMS/mcl_potions/depends.txt | 1 - mods/ITEMS/mcl_potions/init.lua | 6 +++--- 3 files changed, 4 insertions(+), 5 deletions(-) diff --git a/mods/ITEMS/mcl_brewing/init.lua b/mods/ITEMS/mcl_brewing/init.lua index 74db197aa2..5535cee8e9 100755 --- a/mods/ITEMS/mcl_brewing/init.lua +++ b/mods/ITEMS/mcl_brewing/init.lua @@ -134,7 +134,7 @@ local function brewing_stand_timer(pos, elapsed) -- return 1 -- end -- end - local brew_output = brewable(inv) + brew_output = brewable(inv) if fuel ~= 0 and brew_output then fuel_timer = fuel_timer + elapsed diff --git a/mods/ITEMS/mcl_potions/depends.txt b/mods/ITEMS/mcl_potions/depends.txt index b6452ddefc..abcf4601da 100644 --- a/mods/ITEMS/mcl_potions/depends.txt +++ b/mods/ITEMS/mcl_potions/depends.txt @@ -2,5 +2,4 @@ mcl_core mcl_farming mcl_mobitems mcl_fishing -mesecons playerphysics diff --git a/mods/ITEMS/mcl_potions/init.lua b/mods/ITEMS/mcl_potions/init.lua index f1113988d9..a88be31c43 100644 --- a/mods/ITEMS/mcl_potions/init.lua +++ b/mods/ITEMS/mcl_potions/init.lua @@ -424,8 +424,8 @@ minetest.register_craftitem("mcl_potions:harming_2", { minetest.register_craftitem("mcl_potions:night_vision", { description = S("Night Vision Potion"), _doc_items_longdesc = brewhelp, - wield_image = potion_image("#A0A0A0"), - inventory_image = potion_image("#A0A0A0"), + wield_image = "mcl_potions_night_vision.png", + inventory_image = "mcl_potions_night_vision.png", groups = { brewitem = 1, food=0}, stack_max = 1, }) @@ -813,7 +813,7 @@ for i, potion in ipairs(potions) do end local mod_table = { - ["mesecons:wire_00000000_off"] = extension_table, + ["mesecons:redstone"] = extension_table, ["mcl_potions:fermented_spider_eye"] = inversion_table, ["mcl_nether:glowstone_dust"] = enhancement_table, ["mcl_mobitems:gunpowder"] = splash_table,