summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/Debuggers
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-03-01 17:25:45 +0100
committerMattes D <github@xoft.cz>2016-03-17 19:29:02 +0100
commitd0a04a7a82badcbfd694ccf0e9302b87f027abc2 (patch)
tree6f054f4b0948bba7a04f3e10c59ce3aad5f602c9 /Server/Plugins/Debuggers
parentChanged plugin hook registrations to use cLuaState::cCallback. (diff)
downloadcuberite-d0a04a7a82badcbfd694ccf0e9302b87f027abc2.tar
cuberite-d0a04a7a82badcbfd694ccf0e9302b87f027abc2.tar.gz
cuberite-d0a04a7a82badcbfd694ccf0e9302b87f027abc2.tar.bz2
cuberite-d0a04a7a82badcbfd694ccf0e9302b87f027abc2.tar.lz
cuberite-d0a04a7a82badcbfd694ccf0e9302b87f027abc2.tar.xz
cuberite-d0a04a7a82badcbfd694ccf0e9302b87f027abc2.tar.zst
cuberite-d0a04a7a82badcbfd694ccf0e9302b87f027abc2.zip
Diffstat (limited to 'Server/Plugins/Debuggers')
-rw-r--r--Server/Plugins/Debuggers/Debuggers.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/Server/Plugins/Debuggers/Debuggers.lua b/Server/Plugins/Debuggers/Debuggers.lua
index 422993932..b9d1d1e41 100644
--- a/Server/Plugins/Debuggers/Debuggers.lua
+++ b/Server/Plugins/Debuggers/Debuggers.lua
@@ -1876,8 +1876,8 @@ end
function HandleConsoleSchedule(a_Split)
local prev = os.clock()
- LOG("Scheduling a task for 2 seconds in the future (current os.clock is " .. prev .. ")")
- cRoot:Get():GetDefaultWorld():ScheduleTask(40,
+ LOG("Scheduling a task for 5 seconds in the future (current os.clock is " .. prev .. ")")
+ cRoot:Get():GetDefaultWorld():ScheduleTask(5 * 20,
function ()
local current = os.clock()
local diff = current - prev