summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-17 23:45:58 +0200
committermadmaxoft <github@xoft.cz>2013-08-17 23:45:58 +0200
commitfcfbdee76d3eb4f51a541900f87482368da6bf70 (patch)
tree0143fccb59123f8a8729ee1efe420021cecd5bc3
parentFixed compile-time warning in TNTEntity. (diff)
downloadcuberite-fcfbdee76d3eb4f51a541900f87482368da6bf70.tar
cuberite-fcfbdee76d3eb4f51a541900f87482368da6bf70.tar.gz
cuberite-fcfbdee76d3eb4f51a541900f87482368da6bf70.tar.bz2
cuberite-fcfbdee76d3eb4f51a541900f87482368da6bf70.tar.lz
cuberite-fcfbdee76d3eb4f51a541900f87482368da6bf70.tar.xz
cuberite-fcfbdee76d3eb4f51a541900f87482368da6bf70.tar.zst
cuberite-fcfbdee76d3eb4f51a541900f87482368da6bf70.zip
Diffstat (limited to '')
-rw-r--r--source/Server.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/source/Server.cpp b/source/Server.cpp
index fad562973..c43ee83d2 100644
--- a/source/Server.cpp
+++ b/source/Server.cpp
@@ -355,8 +355,13 @@ bool cServer::Tick(float a_Dt)
m_PlayerCount += PlayerCountDiff;
}
+ // Send the tick to the plugins, as well as let the plugin manager reload, if asked to (issue #102):
+ cPluginManager::Get()->Tick(a_Dt);
+
+ // Let the Root process all the queued commands:
cRoot::Get()->TickCommands();
+ // Tick all clients not yet assigned to a world:
TickClients(a_Dt);
if (!m_bRestarting)