summaryrefslogtreecommitdiffstats
path: root/src/main/java/net/minecraft/server
diff options
context:
space:
mode:
authorH31IX <effectsdude@gmail.com>2012-06-09 13:59:52 -0400
committerWesley Wolfe <weswolf@aol.com>2012-06-20 12:40:12 -0500
commit0095add08c4ca77f8e236a464eadeae4620f577a (patch)
treea8a7b4578ba11520cf18c79deaeac68909289d3f /src/main/java/net/minecraft/server
parent6bbae461d5cf6fb508201633c1c9776808f1af7c (diff)
downloadcraftbukkit-0095add08c4ca77f8e236a464eadeae4620f577a.tar
craftbukkit-0095add08c4ca77f8e236a464eadeae4620f577a.tar.gz
craftbukkit-0095add08c4ca77f8e236a464eadeae4620f577a.tar.lz
craftbukkit-0095add08c4ca77f8e236a464eadeae4620f577a.tar.xz
craftbukkit-0095add08c4ca77f8e236a464eadeae4620f577a.zip
Add query-plugins setting. Addresses BUKKIT-1781
Diffstat (limited to 'src/main/java/net/minecraft/server')
-rw-r--r--src/main/java/net/minecraft/server/MinecraftServer.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java
index 687932f5..e6c7ec13 100644
--- a/src/main/java/net/minecraft/server/MinecraftServer.java
+++ b/src/main/java/net/minecraft/server/MinecraftServer.java
@@ -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++) {