mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-08 16:12:18 -07:00
Added new --noconsole command argument, thanks to mkurzeja for the idea
This commit is contained in:
@@ -105,6 +105,10 @@ public final class CraftServer implements Server {
|
||||
this.serverVersion = CraftServer.class.getPackage().getImplementationVersion();
|
||||
|
||||
Bukkit.setServer(this);
|
||||
|
||||
if (!Main.useConsole) {
|
||||
getLogger().info("Console input is disabled due to --noconsole command argument");
|
||||
}
|
||||
|
||||
configuration = YamlConfiguration.loadConfiguration(getConfigFile());
|
||||
configuration.options().copyDefaults(true);
|
||||
|
Reference in New Issue
Block a user