Bugfix in utils
This commit is contained in:
parent
38b5f70f2a
commit
ea4e05a889
2
utils
2
utils
@ -12,7 +12,7 @@ function utils.getSideOf(name) --get which side, if any, a peripheral p is conne
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
function printToMon(mon, text)
|
function utils.printToMon(mon, text)
|
||||||
local x, y = mon.getCursorPos()
|
local x, y = mon.getCursorPos()
|
||||||
mon.write(text)
|
mon.write(text)
|
||||||
mon.setCursorPos(x, y+1)
|
mon.setCursorPos(x, y+1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user