File tree 1 file changed +4
-1
lines changed
1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -107,6 +107,7 @@ local function furnace_node_timer(pos, elapsed)
107
107
108
108
local inv = meta :get_inventory ()
109
109
local srclist , fuellist
110
+ local dst_full = false
110
111
111
112
local cookable , cooked
112
113
local fuel
@@ -146,6 +147,8 @@ local function furnace_node_timer(pos, elapsed)
146
147
inv :set_stack (" src" , 1 , aftercooked .items [1 ])
147
148
src_time = src_time - cooked .time
148
149
update = true
150
+ else
151
+ dst_full = true
149
152
end
150
153
else
151
154
-- Item could not be cooked: probably missing fuel
@@ -195,7 +198,7 @@ local function furnace_node_timer(pos, elapsed)
195
198
local item_percent = 0
196
199
if cookable then
197
200
item_percent = math.floor (src_time / cooked .time * 100 )
198
- if item_percent > 100 then
201
+ if dst_full then
199
202
item_state = " 100% (output full)"
200
203
else
201
204
item_state = item_percent .. " %"
You can’t perform that action at this time.
0 commit comments