summaryrefslogtreecommitdiffstats
path: root/Server/Plugins/Debuggers/Debuggers.lua
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-03-21 10:40:38 +0100
committerMattes D <github@xoft.cz>2016-03-21 10:40:38 +0100
commitfa53e98419152a83b2a74c5ea45a60449abc59c2 (patch)
tree766f4703a8c30a01bfc5148fe54c6d6b4a3e3cc7 /Server/Plugins/Debuggers/Debuggers.lua
parentMerge pull request #3084 from cuberite/seadragon91-patch-1 (diff)
parentRevert "Lua callback" (diff)
downloadcuberite-fa53e98419152a83b2a74c5ea45a60449abc59c2.tar
cuberite-fa53e98419152a83b2a74c5ea45a60449abc59c2.tar.gz
cuberite-fa53e98419152a83b2a74c5ea45a60449abc59c2.tar.bz2
cuberite-fa53e98419152a83b2a74c5ea45a60449abc59c2.tar.lz
cuberite-fa53e98419152a83b2a74c5ea45a60449abc59c2.tar.xz
cuberite-fa53e98419152a83b2a74c5ea45a60449abc59c2.tar.zst
cuberite-fa53e98419152a83b2a74c5ea45a60449abc59c2.zip
Diffstat (limited to 'Server/Plugins/Debuggers/Debuggers.lua')
-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 b9d1d1e41..422993932 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 5 seconds in the future (current os.clock is " .. prev .. ")")
- cRoot:Get():GetDefaultWorld():ScheduleTask(5 * 20,
+ LOG("Scheduling a task for 2 seconds in the future (current os.clock is " .. prev .. ")")
+ cRoot:Get():GetDefaultWorld():ScheduleTask(40,
function ()
local current = os.clock()
local diff = current - prev