Fixes "?" console command.

This commit is contained in:
Sean Cronin 2011-01-20 12:17:49 +08:00 committed by Warren
parent 3931be421e
commit 9c28b2134f

View file

@ -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:");