Fix Redstone alias issue. Defined local variable "brew_output".
This commit is contained in:
parent
ca3fd26353
commit
0959c15c34
@ -134,7 +134,7 @@ local function brewing_stand_timer(pos, elapsed)
|
||||
-- return 1
|
||||
-- end
|
||||
-- end
|
||||
brew_output = brewable(inv)
|
||||
local brew_output = brewable(inv)
|
||||
if fuel ~= 0 and brew_output then
|
||||
|
||||
fuel_timer = fuel_timer + elapsed
|
||||
|
@ -2,4 +2,5 @@ mcl_core
|
||||
mcl_farming
|
||||
mcl_mobitems
|
||||
mcl_fishing
|
||||
mesecons
|
||||
playerphysics
|
||||
|
@ -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 = "mcl_potions_night_vision.png",
|
||||
inventory_image = "mcl_potions_night_vision.png",
|
||||
wield_image = potion_image("#A0A0A0"),
|
||||
inventory_image = potion_image("#A0A0A0"),
|
||||
groups = { brewitem = 1, food=0},
|
||||
stack_max = 1,
|
||||
})
|
||||
@ -813,7 +813,7 @@ for i, potion in ipairs(potions) do
|
||||
end
|
||||
|
||||
local mod_table = {
|
||||
["mesecons:redstone"] = extension_table,
|
||||
["mesecons:wire_00000000_off"] = extension_table,
|
||||
["mcl_potions:fermented_spider_eye"] = inversion_table,
|
||||
["mcl_nether:glowstone_dust"] = enhancement_table,
|
||||
["mcl_mobitems:gunpowder"] = splash_table,
|
||||
|
Loading…
Reference in New Issue
Block a user