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