diff options
author | madmaxoft <github@xoft.cz> | 2014-03-28 13:34:32 +0100 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-03-28 13:34:32 +0100 |
commit | 7cc44d4d8b6b6142ab45f955890a92e395604142 (patch) | |
tree | 326ffa38fe7f29b283f7b525c1f54ee2ad7b80f0 | |
parent | cPrefab can draw itself into a cChunkDesc. (diff) | |
download | cuberite-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 '')
-rw-r--r-- | MCServer/Plugins/Debuggers/Debuggers.lua | 4 |
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"); |