Added new --noconsole command argument, thanks to mkurzeja for the idea
By: Nathan Adams <dinnerbone@dinnerbone.com>
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