edit: fix sticky control + autorun in shell mode

This commit is contained in:
kepler155c@gmail.com
2019-03-27 15:22:13 -04:00
parent a181a58420
commit 6f3606de20
3 changed files with 6 additions and 2 deletions

View File

@@ -631,6 +631,7 @@ local __actions = {
end,
run = function()
input:reset()
local sTempPath = "/.temp"
local ok = save(sTempPath)
if ok then

View File

@@ -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

View File

@@ -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)