summaryrefslogtreecommitdiffstats
path: root/MCServer
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-28 13:34:32 +0100
committermadmaxoft <github@xoft.cz>2014-03-28 13:34:32 +0100
commit7cc44d4d8b6b6142ab45f955890a92e395604142 (patch)
tree326ffa38fe7f29b283f7b525c1f54ee2ad7b80f0 /MCServer
parentcPrefab can draw itself into a cChunkDesc. (diff)
downloadcuberite-7cc44d4d8b6b6142ab45f955890a92e395604142.tar
cuberite-7cc44d4d8b6b6142ab45f955890a92e395604142.tar.gz
cuberite-7cc44d4d8b6b6142ab45f955890a92e395604142.tar.bz2
cuberite-7cc44d4d8b6b6142ab45f955890a92e395604142.tar.lz
cuberite-7cc44d4d8b6b6142ab45f955890a92e395604142.tar.xz
cuberite-7cc44d4d8b6b6142ab45f955890a92e395604142.tar.zst
cuberite-7cc44d4d8b6b6142ab45f955890a92e395604142.zip
Diffstat (limited to 'MCServer')
-rw-r--r--MCServer/Plugins/Debuggers/Debuggers.lua4
1 files changed, 3 insertions, 1 deletions
diff --git a/MCServer/Plugins/Debuggers/Debuggers.lua b/MCServer/Plugins/Debuggers/Debuggers.lua
index fe3efa306..2cb014875 100644
--- a/MCServer/Plugins/Debuggers/Debuggers.lua
+++ b/MCServer/Plugins/Debuggers/Debuggers.lua
@@ -27,11 +27,13 @@ function Initialize(Plugin)
PM:AddHook(cPluginManager.HOOK_CHAT, OnChat);
PM:AddHook(cPluginManager.HOOK_PLAYER_RIGHT_CLICKING_ENTITY, OnPlayerRightClickingEntity);
PM:AddHook(cPluginManager.HOOK_WORLD_TICK, OnWorldTick);
- PM:AddHook(cPluginManager.HOOK_CHUNK_GENERATED, OnChunkGenerated);
PM:AddHook(cPluginManager.HOOK_PLUGINS_LOADED, OnPluginsLoaded);
PM:AddHook(cPluginManager.HOOK_PLUGIN_MESSAGE, OnPluginMessage);
PM:AddHook(cPluginManager.HOOK_PLAYER_JOINED, OnPlayerJoined)
+ -- _X: Disabled so that the normal operation doesn't interfere with anything
+ -- PM:AddHook(cPluginManager.HOOK_CHUNK_GENERATED, OnChunkGenerated);
+
PM:BindCommand("/le", "debuggers", HandleListEntitiesCmd, "- Shows a list of all the loaded entities");
PM:BindCommand("/ke", "debuggers", HandleKillEntitiesCmd, "- Kills all the loaded entities");
PM:BindCommand("/wool", "debuggers", HandleWoolCmd, "- Sets all your armor to blue wool");