mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-15 08:24:52 +09:00
Added way to get errors from loading addons
This commit is contained in:
1 parent
203c42098b
commit
9914773b49
2 files changed
+8
-2
No files matched your search
+2
-1
@@ -44,6 +44,7 @@ pcall(require,'/Addons/playerRanks')
|
||||
-- this makes sure that all the little details are cleaned up
|
||||
Ranking._auto_edit_ranks()
|
||||
-- this loads all the addons
|
||||
pcall(require,'Addons/load')
|
||||
local success,err = pcall(require,'Addons/load')
|
||||
if not success then error(err) end
|
||||
-- this loads anything that does not use ExpCore (sourse given in the file)
|
||||
pcall(require,'StandAlone/load')
|
||||
Reference in new issue
Block a user