Update to ExpGamingCore.Command for when command-run is printed

This commit is contained in:
Cooldude2606
2018-10-26 21:08:34 +01:00
parent f91fed2196
commit fb36fb03f7
2 changed files with 11 additions and 11 deletions

View File

@@ -7,7 +7,7 @@ local moduleIndex = require("/modules/index")
local Manager = {}
-- this is a constant that is used to represent the server
SERVER = setmetatable({index=0,name='<server>',online_time=0,afk_time=0,print=print},{__index=function(tbl,key) if type(game.player[key]) == 'function' then return function() end else return nil end end})
SERVER = setmetatable({index=0,name='<server>',online_time=0,afk_time=0,print=print,admin=true},{__index=function(tbl,key) if type(game.players[1][key]) == 'function' then return function() end else return nil end end})
--- Setup for metatable of the Manager to force read only nature
-- @usage Manager() -- runs Manager.loadModdules()