Update plugin.lua
Small fix
This commit is contained in:
@@ -17,7 +17,7 @@ if(packaged)then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
else
|
||||||
if(fs.exists(pluginDir))then
|
if(fs.exists(pluginDir))then
|
||||||
for _,v in pairs(fs.list(pluginDir))do
|
for _,v in pairs(fs.list(pluginDir))do
|
||||||
table.insert(pluginNames, v)
|
table.insert(pluginNames, v)
|
||||||
@@ -32,6 +32,7 @@ if(fs.exists(pluginDir))then
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
end
|
||||||
|
|
||||||
local function get(name)
|
local function get(name)
|
||||||
return plugins[name]
|
return plugins[name]
|
||||||
|
|||||||
Reference in New Issue
Block a user