Add Server Name config option (#1170)

* Add bedrock.server-name config option

* Fix spelling mistake oops!

* Remove trailing whitespace
This commit is contained in:
James Cahill 2020-08-25 14:29:55 +01:00 committed by GitHub
parent c1a70c7754
commit 81f58ee9bf
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 17 additions and 2 deletions

View file

@ -205,6 +205,11 @@ public class GeyserSpongeConfiguration implements GeyserConfiguration {
public String getMotd2() {
return node.getNode("motd2").getString("GeyserMC");
}
@Override
public String getServerName() {
return node.getNode("server-name").getString("Geyser");
}
}
@AllArgsConstructor