mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41:41 +09:00
Fixed require on afkkick
This commit is contained in:
@@ -32,6 +32,6 @@ return setmetatable({
|
|||||||
on_init=function(self)
|
on_init=function(self)
|
||||||
if loaded_modules['ExpGamingCore.Role'] then Role = require('ExpGamingCore.Role') end
|
if loaded_modules['ExpGamingCore.Role'] then Role = require('ExpGamingCore.Role') end
|
||||||
if loaded_modules['ExpGamingCore.Sync'] then Sync = require('ExpGamingCore.Sync') end
|
if loaded_modules['ExpGamingCore.Sync'] then Sync = require('ExpGamingCore.Sync') end
|
||||||
if loaded_modules['ExpGamingCore.Server'] then require(module_path..'/src/server',Sync,self) end
|
if loaded_modules['ExpGamingCore.Server'] then require(module_path..'/src/server',{Sync=Sync,self=self}) end
|
||||||
end
|
end
|
||||||
},{__call=function(self,...) self.get_allowed_afk_time(...) end})
|
},{__call=function(self,...) return self.get_allowed_afk_time(...) end})
|
||||||
Reference in New Issue
Block a user