forked from GeyserMC/Geyser
clone-remote-port option Updated (#1061)
* Added clone remote port option for bukkit, bungee and velocity * Added clone remote port option for sponge * Changed clone-remote-port description in config.yml * Update config.yml Updated config.yml to include a better description of the clone-remote-port option * Updated GeyserSpongePlugin An incorrect port was being edited before (remote instead of bedrock) * Update config.yml Co-authored-by: TeaNoDonuts <blackalegator@gmail.com>
This commit is contained in:
parent
600c54d89d
commit
427cb69a14
8 changed files with 30 additions and 0 deletions
|
@ -87,6 +87,10 @@ public class GeyserSpigotPlugin extends JavaPlugin implements GeyserBootstrap {
|
|||
geyserConfig.getRemote().setAddress(Bukkit.getIp());
|
||||
}
|
||||
|
||||
if (geyserConfig.getBedrock().isCloneRemotePort()) {
|
||||
geyserConfig.getBedrock().setPort(Bukkit.getPort());
|
||||
}
|
||||
|
||||
geyserConfig.getRemote().setPort(Bukkit.getPort());
|
||||
|
||||
this.geyserLogger = new GeyserSpigotLogger(getLogger(), geyserConfig.isDebugMode());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue