Fixed that default output always appeared.

master
Robert Zenz 2015-10-04 14:10:06 +02:00
parent 98fd1b88ad
commit 7c0135e902
1 changed files with 4 additions and 1 deletions

View File

@ -317,7 +317,10 @@ function artisanryui.update_from_input_inventory(player)
items = input
})
if not result.item:is_empty() and page.current == 1 then
if not result.item:is_empty()
and page.current == 1
and (group == "All" or group == "None") then
artisanryui.inventory:set_stack(player:get_player_name() .. "-output", index, result.item)
blueprints:add({
decremented_input = decremented_input,