mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41:41 +09:00
Refactor of commands
This commit is contained in:
13
utils/print_override.lua
Normal file
13
utils/print_override.lua
Normal file
@@ -0,0 +1,13 @@
|
||||
local Public = {}
|
||||
|
||||
local locale_string = {'', '[PRINT] ', nil}
|
||||
local raw_print = print
|
||||
|
||||
function print(str)
|
||||
locale_string[3] = str
|
||||
log(locale_string)
|
||||
end
|
||||
|
||||
Public.raw_print = raw_print
|
||||
|
||||
return Public
|
||||
Reference in New Issue
Block a user