summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/@EnableMobDebug.lua
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-03-16 18:45:01 +0100
committermadmaxoft <github@xoft.cz>2014-03-16 21:37:33 +0100
commit5ac863f7fa780329e9dbe4e087162e33e0b7213c (patch)
tree578bbc3a6ebdbe289438dd6450216245f2a4382b /MCServer/Plugins/@EnableMobDebug.lua
parentAdded common eMessageType aliases. (diff)
downloadcuberite-5ac863f7fa780329e9dbe4e087162e33e0b7213c.tar
cuberite-5ac863f7fa780329e9dbe4e087162e33e0b7213c.tar.gz
cuberite-5ac863f7fa780329e9dbe4e087162e33e0b7213c.tar.bz2
cuberite-5ac863f7fa780329e9dbe4e087162e33e0b7213c.tar.lz
cuberite-5ac863f7fa780329e9dbe4e087162e33e0b7213c.tar.xz
cuberite-5ac863f7fa780329e9dbe4e087162e33e0b7213c.tar.zst
cuberite-5ac863f7fa780329e9dbe4e087162e33e0b7213c.zip
Diffstat (limited to 'MCServer/Plugins/@EnableMobDebug.lua')
-rw-r--r--MCServer/Plugins/@EnableMobDebug.lua29
1 files changed, 0 insertions, 29 deletions
diff --git a/MCServer/Plugins/@EnableMobDebug.lua b/MCServer/Plugins/@EnableMobDebug.lua
deleted file mode 100644
index 48d4c36b7..000000000
--- a/MCServer/Plugins/@EnableMobDebug.lua
+++ /dev/null
@@ -1,29 +0,0 @@
-
--- @EnableMobDebug.lua
-
--- Enables the MobDebug debugger, used by ZeroBrane Studio, for a plugin
--- Needs to be named with a @ at the start so that it's loaded as the first file of the plugin
-
---[[
-Usage:
-Copy this file to your plugin's folder when you want to debug that plugin
-You should neither check this file into the plugin's version control system,
-nor distribute it in the final release.
---]]
-
-
-
-
-
--- Try to load the debugger, be silent about failures:
-local IsSuccess, MobDebug = pcall(require, "mobdebug")
-if (IsSuccess) then
- MobDebug.start()
-
- -- The debugger will automatically put a breakpoint on this line, use this opportunity to set more breakpoints in your code
- LOG(cPluginManager:GetCurrentPlugin():GetName() .. ": MobDebug enabled")
-end
-
-
-
-