mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
Merge branch 'explosivegaming:main' into aperx
This commit is contained in:
@@ -565,7 +565,7 @@ function Commands._prototype:register(callback)
|
||||
local success, traceback = xpcall(Commands._event_handler, debug.traceback, event)
|
||||
--- @cast traceback string
|
||||
if not success and not traceback:find("Command does not support rcon usage") then
|
||||
local key = "<" .. table.concat({ event.name, event.player_index, event.tick }, ":") .. ">"
|
||||
local key = "<" .. table.concat({ event.name, event.player_index or 0, event.tick }, ":") .. ">"
|
||||
local _, msg = Commands.status.internal_error(key)
|
||||
Commands.error(msg)
|
||||
log("Internal Command Error " .. key .. "\n" .. traceback)
|
||||
|
||||
Reference in New Issue
Block a user