forked from GeyserMC/Geyser
Add 'passthrough-protocol-name' config option (#1124)
* Initial version (tested) * Don't bump config version * Misc changes * Add punctuation to config
This commit is contained in:
parent
80a36344eb
commit
e7363b4e9f
5 changed files with 24 additions and 2 deletions
|
@ -89,6 +89,11 @@ public class GeyserSpongeConfiguration implements GeyserConfiguration {
|
|||
return node.getNode("passthrough-motd").getBoolean(false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isPassthroughProtocolName() {
|
||||
return node.getNode("passthrough-protocol-name").getBoolean(false);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isPassthroughPlayerCounts() {
|
||||
return node.getNode("passthrough-player-counts").getBoolean(false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue