mirror of
https://github.com/kepler155c/opus
synced 2024-12-25 16:10:26 +00:00
web run applications
This commit is contained in:
parent
9f5c58cc4c
commit
e821241cfe
@ -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,10 +632,12 @@ 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()
|
||||
|
Loading…
Reference in New Issue
Block a user