forked from GeyserMC/Geyser
Add Server Name config option (#1170)
* Add bedrock.server-name config option * Fix spelling mistake oops! * Remove trailing whitespace
This commit is contained in:
parent
c1a70c7754
commit
81f58ee9bf
5 changed files with 17 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue