summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/InfoDump.lua
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2015-04-04 13:38:35 +0200
committerSTRWarrior <niels.breuker@hotmail.nl>2015-04-04 13:38:35 +0200
commit5e8630649e058da7464156b9d3de810d1a6c4269 (patch)
treec9af7e8a83f997ea4c009d1d57ed21dc23e7554f /MCServer/Plugins/InfoDump.lua
parentFixed players not appearing/disappearing when traveling to a new world. (diff)
downloadcuberite-5e8630649e058da7464156b9d3de810d1a6c4269.tar
cuberite-5e8630649e058da7464156b9d3de810d1a6c4269.tar.gz
cuberite-5e8630649e058da7464156b9d3de810d1a6c4269.tar.bz2
cuberite-5e8630649e058da7464156b9d3de810d1a6c4269.tar.lz
cuberite-5e8630649e058da7464156b9d3de810d1a6c4269.tar.xz
cuberite-5e8630649e058da7464156b9d3de810d1a6c4269.tar.zst
cuberite-5e8630649e058da7464156b9d3de810d1a6c4269.zip
Diffstat (limited to 'MCServer/Plugins/InfoDump.lua')
-rw-r--r--MCServer/Plugins/InfoDump.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/MCServer/Plugins/InfoDump.lua b/MCServer/Plugins/InfoDump.lua
index 07a534b88..ab4dfd861 100644
--- a/MCServer/Plugins/InfoDump.lua
+++ b/MCServer/Plugins/InfoDump.lua
@@ -18,6 +18,13 @@ only that one plugin's documentation. This mode of operation doesn't require Lua
+-- If this file is called using the loadfile function the arg variable isn't filled. We have to do it manualy then.
+local arg = arg or {...}
+
+
+
+
+
-- Check Lua version. We use 5.1-specific construct when loading the plugin info, 5.2 is not compatible!
if (_VERSION ~= "Lua 5.1") then
print("Unsupported Lua version. This script requires Lua version 5.1, this Lua is version " .. (_VERSION or "<nil>"))