summaryrefslogtreecommitdiffstats
path: root/Server/Plugins
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2016-03-01 17:25:45 +0100
committerMattes D <github@xoft.cz>2016-06-27 20:51:49 +0200
commitb7e1a66815d089d1516272244e79d6dd4e65099b (patch)
treee3e65f1d1040b43fa57ecc6d8a9e5c61424befff /Server/Plugins
parentChanged plugin hook registrations to use cLuaState::cCallback. (diff)
downloadcuberite-b7e1a66815d089d1516272244e79d6dd4e65099b.tar
cuberite-b7e1a66815d089d1516272244e79d6dd4e65099b.tar.gz
cuberite-b7e1a66815d089d1516272244e79d6dd4e65099b.tar.bz2
cuberite-b7e1a66815d089d1516272244e79d6dd4e65099b.tar.lz
cuberite-b7e1a66815d089d1516272244e79d6dd4e65099b.tar.xz
cuberite-b7e1a66815d089d1516272244e79d6dd4e65099b.tar.zst
cuberite-b7e1a66815d089d1516272244e79d6dd4e65099b.zip
Diffstat (limited to 'Server/Plugins')
-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 362dc4dd9..02510c866 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