summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-03 15:31:59 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-03-03 15:31:59 +0100
commit185ebc4168a2e4fbc5781fab7db6ed8d63bb2119 (patch)
tree1f61c6e4899b4c6b382020584670cc298a20a59c
parentSimulators now check if they are given a valid chunk (diff)
downloadcuberite-185ebc4168a2e4fbc5781fab7db6ed8d63bb2119.tar
cuberite-185ebc4168a2e4fbc5781fab7db6ed8d63bb2119.tar.gz
cuberite-185ebc4168a2e4fbc5781fab7db6ed8d63bb2119.tar.bz2
cuberite-185ebc4168a2e4fbc5781fab7db6ed8d63bb2119.tar.lz
cuberite-185ebc4168a2e4fbc5781fab7db6ed8d63bb2119.tar.xz
cuberite-185ebc4168a2e4fbc5781fab7db6ed8d63bb2119.tar.zst
cuberite-185ebc4168a2e4fbc5781fab7db6ed8d63bb2119.zip
-rw-r--r--MCServer/Plugins/Debuggers/Debuggers.lua6
1 files changed, 4 insertions, 2 deletions
diff --git a/MCServer/Plugins/Debuggers/Debuggers.lua b/MCServer/Plugins/Debuggers/Debuggers.lua
index e715b4095..3a7b58a47 100644
--- a/MCServer/Plugins/Debuggers/Debuggers.lua
+++ b/MCServer/Plugins/Debuggers/Debuggers.lua
@@ -1,7 +1,7 @@
-- Global variables
PLUGIN = {}; -- Reference to own plugin object
-ShouldDumpFunctions = false; -- If set to true, all available functions are logged upon plugin initialization
+ShouldDumpFunctions = true; -- If set to true, all available functions are logged upon plugin initialization
@@ -16,7 +16,9 @@ function Initialize(Plugin)
PluginManager = cRoot:Get():GetPluginManager()
PluginManager:AddHook(Plugin, cPluginManager.HOOK_PLAYER_USING_ITEM);
PluginManager:AddHook(Plugin, cPluginManager.HOOK_TAKE_DAMAGE);
- PluginManager:AddHook(Plugin, cPluginManager.HOOK_CHUNK_GENERATED);
+
+ -- Enable the following line for BlockArea / Generator interface testing:
+ -- PluginManager:AddHook(Plugin, cPluginManager.HOOK_CHUNK_GENERATED);
LOG("Initialized " .. Plugin:GetName() .. " v." .. Plugin:GetVersion())