small updates + elytraFly hud
This commit is contained in:
@@ -231,20 +231,13 @@ _G._debug('STORAGE: Forcing full refresh')
|
||||
return self:listItems(throttle)
|
||||
end
|
||||
|
||||
local function Timer()
|
||||
local ct = os.clock()
|
||||
return function()
|
||||
return os.clock() - ct
|
||||
end
|
||||
end
|
||||
|
||||
-- provide a consolidated list of items
|
||||
function Storage:listItems(throttle)
|
||||
if not self.dirty then
|
||||
return self.cache
|
||||
end
|
||||
|
||||
local timer = Timer()
|
||||
local timer = Util.Timer()
|
||||
local cache = { }
|
||||
throttle = throttle or Util.throttle()
|
||||
|
||||
|
||||
@@ -7,6 +7,8 @@ if fs.exists('packages/milo/Milo.lua') then
|
||||
fs.delete('packages/milo/plugins/listing.lua')
|
||||
end
|
||||
|
||||
fs.delete('packages/milo/apis/milo.lua')
|
||||
|
||||
if device.workbench then
|
||||
shell.openForegroundTab('MiloLocal')
|
||||
end
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
-- moved
|
||||
Reference in New Issue
Block a user