This commit is contained in:
kepler155c
2018-10-24 06:51:05 -04:00
parent 9664077f2e
commit e45aad7ed0
8 changed files with 122 additions and 60 deletions

View File

@@ -10,7 +10,7 @@ function PotionImportTask:cycle(context)
for _, v in pairs(device) do
if v.type == 'minecraft:brewing_stand' and v.getBrewTime() == 0 then
local list = v.list()
if not list[4] and list[1] then
if not list[4] then
for i = 1, 3 do
if list[i] then
context.inventoryAdapter:insert(i, 1, nil, list[i], v.name)