mirror of
https://github.com/GeyserMC/Geyser.git
synced 2026-01-06 15:41:50 +00:00
Add customizable MTU support (#1068)
* Add customizable MTU support Fixes clients being unable to connect in rare instances. * Make config.yml nicer
This commit is contained in:
@@ -253,6 +253,11 @@ public class GeyserSpongeConfiguration implements GeyserConfiguration {
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getMtu() {
|
||||
return node.getNode("mtu").getInt(1400);
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getConfigVersion() {
|
||||
return node.getNode("config-version").getInt(0);
|
||||
|
||||
Reference in New Issue
Block a user