summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-03-16 21:52:28 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2014-03-16 21:52:28 +0100
commit5a9f17060d09316931fd246e7b5f059a6bf4abac (patch)
treeecbd075bafb8e978aac0a830ba432406991da002 /MCServer/Plugins
parentCreated a small plugin for InfoDump (diff)
downloadcuberite-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.lua2
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>"