1
0
mirror of https://github.com/kepler155c/opus synced 2024-12-25 16:10:26 +00:00

web run applications

This commit is contained in:
kepler155c@gmail.com 2017-09-05 21:56:03 -04:00
parent 9f5c58cc4c
commit e821241cfe

View File

@ -20,7 +20,7 @@ if Util.getVersion() == 1.8 then
ChestProvider = require('chestProvider18')
end
if not turtle.point then
if not _G.device then
local Opus = require('opus')
Opus.loadExtensions()
end
@ -632,11 +632,13 @@ end
function Builder:sendSupplyRequest(lastBlock)
if device.wireless_modem then
local slots = self:getAirResupplyList(lastBlock)
self.slotUid = os.clock()
Message.broadcast('supplyList', { uid = self.slotUid, slots = slots })
end
end
function Builder:resupply()