mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-14 08:14:52 +09:00
Dont need to start server-interface with return now
This commit is contained in:
1 parent
cab1207a85
commit
89fff7eba9
2 files changed
+1
-2
No files matched your search
@@ -126,6 +126,7 @@ end
|
||||
|
||||
commands.add_command('server-interface', 'Runs the given input from the script', {'code',true}, function(event,args)
|
||||
local callback = args.code
|
||||
if not string.find(callback,'%s') and not string.find(callback,'return') then callback = 'return '..callback end
|
||||
local success, err = Server.interface(callback)
|
||||
player_return(err)
|
||||
end)
|
||||
|
||||
Reference in new issue
Block a user