diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-03-16 21:52:28 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-03-16 21:52:28 +0100 |
commit | 5a9f17060d09316931fd246e7b5f059a6bf4abac (patch) | |
tree | ecbd075bafb8e978aac0a830ba432406991da002 /MCServer/Plugins | |
parent | Created a small plugin for InfoDump (diff) | |
download | cuberite-5a9f17060d09316931fd246e7b5f059a6bf4abac.tar cuberite-5a9f17060d09316931fd246e7b5f059a6bf4abac.tar.gz cuberite-5a9f17060d09316931fd246e7b5f059a6bf4abac.tar.bz2 cuberite-5a9f17060d09316931fd246e7b5f059a6bf4abac.tar.lz cuberite-5a9f17060d09316931fd246e7b5f059a6bf4abac.tar.xz cuberite-5a9f17060d09316931fd246e7b5f059a6bf4abac.tar.zst cuberite-5a9f17060d09316931fd246e7b5f059a6bf4abac.zip |
Diffstat (limited to 'MCServer/Plugins')
-rw-r--r-- | MCServer/Plugins/DumpInfo/Init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/MCServer/Plugins/DumpInfo/Init.lua b/MCServer/Plugins/DumpInfo/Init.lua index 0fa542bb8..5d9c752b0 100644 --- a/MCServer/Plugins/DumpInfo/Init.lua +++ b/MCServer/Plugins/DumpInfo/Init.lua @@ -34,7 +34,7 @@ function HandleDumpPluginRequest(a_Request) for PluginName, k in pairs(cPluginManager:Get():GetAllPlugins()) do -- Check if there is a file called 'Info.lua' or 'info.lua' - if (cFile:Exists("Plugins/" .. PluginName .. "/Info.lua") or cFile:Exists("Plugins/" .. PluginName .. "/info.lua")) then + if (cFile:Exists("Plugins/" .. PluginName .. "/Info.lua")) then Content = Content .. "<tr>" Content = Content .. "<td>" .. PluginName .. "</td>" Content = Content .. "<td> <form method='POST'> <input type='hidden' value='" .. PluginName .. "' name='DumpInfo'> <input type='submit' value='DumpInfo'> </form>" |