bures-monitor fix

This commit is contained in:
Buduf 2022-07-03 12:54:26 +02:00
parent 6e88426b88
commit aeccba0100

View File

@ -28,7 +28,11 @@ end
local function printBuRes()
for name, list in pairs(buRes) do
print(name, "asd")
term.blit(name, colors.toBlit(colors.black), colors.toBlit(colors.white))
term.setTextColor(colors.black)
term.setBackgroundColor(colors.white)
print(name)
term.setTextColor(colors.white)
term.setBackgroundColor(colors.black)
for key, value in pairs(list) do
print(value.item.displayName, value.available .. "+" .. value.delivering .. "/" .. value.item.count)
end