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