Fix Redstone alias issue. Defined local variable "brew_output".

This commit is contained in:
bzoss 2020-06-08 17:33:58 -04:00
parent ca3fd26353
commit 0959c15c34
3 changed files with 5 additions and 4 deletions

View File

@ -134,7 +134,7 @@ local function brewing_stand_timer(pos, elapsed)
-- return 1 -- return 1
-- end -- end
-- end -- end
brew_output = brewable(inv) local brew_output = brewable(inv)
if fuel ~= 0 and brew_output then if fuel ~= 0 and brew_output then
fuel_timer = fuel_timer + elapsed fuel_timer = fuel_timer + elapsed

View File

@ -2,4 +2,5 @@ mcl_core
mcl_farming mcl_farming
mcl_mobitems mcl_mobitems
mcl_fishing mcl_fishing
mesecons
playerphysics playerphysics

View File

@ -424,8 +424,8 @@ minetest.register_craftitem("mcl_potions:harming_2", {
minetest.register_craftitem("mcl_potions:night_vision", { minetest.register_craftitem("mcl_potions:night_vision", {
description = S("Night Vision Potion"), description = S("Night Vision Potion"),
_doc_items_longdesc = brewhelp, _doc_items_longdesc = brewhelp,
wield_image = "mcl_potions_night_vision.png", wield_image = potion_image("#A0A0A0"),
inventory_image = "mcl_potions_night_vision.png", inventory_image = potion_image("#A0A0A0"),
groups = { brewitem = 1, food=0}, groups = { brewitem = 1, food=0},
stack_max = 1, stack_max = 1,
}) })
@ -813,7 +813,7 @@ for i, potion in ipairs(potions) do
end end
local mod_table = { local mod_table = {
["mesecons:redstone"] = extension_table, ["mesecons:wire_00000000_off"] = extension_table,
["mcl_potions:fermented_spider_eye"] = inversion_table, ["mcl_potions:fermented_spider_eye"] = inversion_table,
["mcl_nether:glowstone_dust"] = enhancement_table, ["mcl_nether:glowstone_dust"] = enhancement_table,
["mcl_mobitems:gunpowder"] = splash_table, ["mcl_mobitems:gunpowder"] = splash_table,