edit: fix sticky control + autorun in shell mode
This commit is contained in:
@@ -631,6 +631,7 @@ local __actions = {
|
||||
end,
|
||||
|
||||
run = function()
|
||||
input:reset()
|
||||
local sTempPath = "/.temp"
|
||||
local ok = save(sTempPath)
|
||||
if ok then
|
||||
|
||||
@@ -9,6 +9,6 @@ end
|
||||
|
||||
fs.delete('packages/milo/apis/milo.lua')
|
||||
|
||||
if peripheral.find('workbench') then
|
||||
if peripheral.find('workbench') and shell.openForegroundTab then
|
||||
shell.openForegroundTab('MiloLocal')
|
||||
end
|
||||
|
||||
@@ -74,7 +74,10 @@ local function run()
|
||||
while true do
|
||||
local meta = modules.getMetaOwner()
|
||||
|
||||
if not meta.isSneaking and meta.isElytraFlying then
|
||||
if meta.isOnLadder then
|
||||
os.sleep(0.5)
|
||||
|
||||
elseif not meta.isSneaking and meta.isElytraFlying then
|
||||
|
||||
if meta.isInWater then
|
||||
display(meta)
|
||||
|
||||
Reference in New Issue
Block a user