bugssss...
This commit is contained in:
@@ -5,8 +5,7 @@ local Util = require('util')
|
|||||||
|
|
||||||
local function syntax()
|
local function syntax()
|
||||||
printError('Syntax:')
|
printError('Syntax:')
|
||||||
print('mwm sessionName [monitor]')
|
error('mwm sessionName [monitor]')
|
||||||
error()
|
|
||||||
end
|
end
|
||||||
|
|
||||||
local args = { ... }
|
local args = { ... }
|
||||||
|
|||||||
@@ -466,7 +466,9 @@ local function randomSapling()
|
|||||||
table.insert(ALL_SAPLINGS, slot.key)
|
table.insert(ALL_SAPLINGS, slot.key)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
sapling = ALL_SAPLINGS[math.random(1, #ALL_SAPLINGS)]
|
if #ALL_SAPLINGS > 0 then
|
||||||
|
sapling = ALL_SAPLINGS[math.random(1, #ALL_SAPLINGS)]
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
return sapling
|
return sapling
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ local function findObsidian()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if turtle.getCount(16) > 0 then
|
if turtle.getItemCount(16) > 0 then
|
||||||
print('Inventory full')
|
print('Inventory full')
|
||||||
print('Enter to continue...')
|
print('Enter to continue...')
|
||||||
read()
|
read()
|
||||||
|
|||||||
Reference in New Issue
Block a user