mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-13 19:25:49 -07:00
Fixes "?" console command.
This commit is contained in:
@@ -286,7 +286,7 @@ public class MinecraftServer implements ICommandListener, Runnable {
|
|||||||
ICommandListener icommandlistener = servercommand.b;
|
ICommandListener icommandlistener = servercommand.b;
|
||||||
String s1 = icommandlistener.c();
|
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("To run the server without a gui, start it like this:");
|
||||||
icommandlistener.b(" java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui");
|
icommandlistener.b(" java -Xmx1024M -Xms1024M -jar minecraft_server.jar nogui");
|
||||||
icommandlistener.b("Console commands:");
|
icommandlistener.b("Console commands:");
|
||||||
|
Reference in New Issue
Block a user