diff --git a/mods/ITEMS/mcl_furnaces/init.lua b/mods/ITEMS/mcl_furnaces/init.lua index cd2b6b41e..07213e40d 100644 --- a/mods/ITEMS/mcl_furnaces/init.lua +++ b/mods/ITEMS/mcl_furnaces/init.lua @@ -183,7 +183,7 @@ local function furnace_get_delta_time(pos) last_game_time = tonumber(last_game_time) end if not last_game_time or last_game_time < 1 then - last_game_time = current_game_time + last_game_time = current_game_time - 0.1 elseif last_game_time == current_game_time then current_game_time = current_game_time + 1.0 end @@ -210,7 +210,7 @@ local function furnace_node_timer(pos, elapsed) local srclist, fuellist local cookable, cooked - local active + local active = true local fuel srclist = inv:get_list("src") @@ -321,7 +321,10 @@ local function furnace_node_timer(pos, elapsed) local result = false if active then - local fuel_percent = math.floor(fuel_time / fuel_totaltime * 100) + local fuel_percent = 0 + if fuel_totaltime > 0 then + fuel_percent = math.floor(fuel_time / fuel_totaltime * 100) + end formspec = active_formspec(fuel_percent, item_percent) swap_node(pos, "mcl_furnaces:furnace_active") -- make sure timer restarts automatically diff --git a/mods/ITEMS/mcl_potions/locale/mcl_potions.ru.tr b/mods/ITEMS/mcl_potions/locale/mcl_potions.ru.tr index 9640e07dc..3d309cbba 100644 --- a/mods/ITEMS/mcl_potions/locale/mcl_potions.ru.tr +++ b/mods/ITEMS/mcl_potions/locale/mcl_potions.ru.tr @@ -84,7 +84,7 @@ Harming=урона -12 HP=-12 HP Instantly deals damage.=Вызывает мгновенную смерть. Night Vision=ночного зрения -Increases the perceived brightness of light under a dark sky.= +Increases the perceived brightness of light under a dark sky.=Усиливает восприятие яркости освещени под тёмным небом. Swiftness=ускорения Increases walking speed.=Увеличивает скорость ходьбы Slowness=замедления