mirror of
https://github.com/edubart/otclient.git
synced 2025-11-30 07:26:49 +01:00
fixes in Settings/g_configs
This commit is contained in:
@@ -173,6 +173,11 @@ end
|
||||
|
||||
function Terminal.executeCommand(command)
|
||||
if command == nil or #command == 0 then return end
|
||||
|
||||
logLocked = true
|
||||
Logger.log(LogInfo, '>> ' .. command)
|
||||
logLocked = false
|
||||
|
||||
-- detect and convert commands with simple syntax
|
||||
local realCommand
|
||||
if commandEnv[command] then
|
||||
|
||||
@@ -2,7 +2,7 @@ Settings = {}
|
||||
|
||||
Settings.exists = g_configs.exists
|
||||
Settings.setNode = g_configs.setNode
|
||||
Settings.mergeNode = g_configs.mergeNode
|
||||
Settings.addNode = g_configs.addNode
|
||||
Settings.getNode = g_configs.getNode
|
||||
Settings.remove = g_configs.remove
|
||||
Settings.setList = g_configs.setList
|
||||
|
||||
Reference in New Issue
Block a user