1
0
mirror of https://github.com/GeyserMC/Geyser.git synced 2026-01-06 15:41:50 +00:00

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
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