Add query-plugins setting. Addresses BUKKIT-1781

This commit is contained in:
H31IX
2012-06-09 13:59:52 -04:00
committed by Wesley Wolfe
parent 6bbae461d5
commit 0095add08c
3 changed files with 6 additions and 1 deletions

View File

@@ -728,7 +728,7 @@ public class MinecraftServer implements Runnable, ICommandListener, IMinecraftSe
result.append(" on Bukkit ");
result.append(server.getBukkitVersion());
if (plugins.length > 0) {
if (plugins.length > 0 && this.server.getQueryPlugins()) {
result.append(": ");
for (int i = 0; i < plugins.length; i++) {