From 9c28b2134fe78d410f56043a56f72ba8b74c3d0f Mon Sep 17 00:00:00 2001 From: Sean Cronin Date: Thu, 20 Jan 2011 12:17:49 +0800 Subject: [PATCH] Fixes "?" console command. --- src/main/java/net/minecraft/server/MinecraftServer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/minecraft/server/MinecraftServer.java b/src/main/java/net/minecraft/server/MinecraftServer.java index 01169d6d49..1011b9a78a 100644 --- a/src/main/java/net/minecraft/server/MinecraftServer.java +++ b/src/main/java/net/minecraft/server/MinecraftServer.java @@ -286,7 +286,7 @@ public class MinecraftServer implements ICommandListener, Runnable { ICommandListener icommandlistener = servercommand.b; String s1 = icommandlistener.c(); - if (s.toLowerCase().startsWith("#help") || s.toLowerCase().startsWith("?")) { + if (s.toLowerCase().startsWith("#help") || s.toLowerCase().startsWith("#?")) { icommandlistener.b("To run the server without a gui, start it like this:"); icommandlistener.b(" java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui"); icommandlistener.b("Console commands:");