mirror of
https://github.com/LDDestroier/CC/
synced 2025-01-08 08:20:27 +00:00
Update netrequire.lua
This commit is contained in:
parent
5d6f155499
commit
a732d7bdaf
@ -19,10 +19,11 @@ local function netrequire(_name, alwaysDownload, ...)
|
|||||||
else
|
else
|
||||||
local url = "https://github.com/LDDestroier/CC/raw/master/netrequire/" .. name
|
local url = "https://github.com/LDDestroier/CC/raw/master/netrequire/" .. name
|
||||||
local net = http.get(url)
|
local net = http.get(url)
|
||||||
local description
|
local description, creator
|
||||||
if net then
|
if net then
|
||||||
url = net.readLine()
|
url = net.readLine()
|
||||||
local useLoadAPI = net.readLine():sub(1, 4) == "true"
|
local useLoadAPI = net.readLine():sub(1, 4) == "true"
|
||||||
|
creator = net.readLine()
|
||||||
description = net.readAll()
|
description = net.readAll()
|
||||||
net.close()
|
net.close()
|
||||||
net = http.get(url)
|
net = http.get(url)
|
||||||
|
Loading…
Reference in New Issue
Block a user