Mirror von
https://github.com/GeyserMC/Geyser.git
synchronisiert 2024-12-25 15:50:14 +01:00
Fix: Modded platform injector not being used
Dieser Commit ist enthalten in:
Ursprung
8ab0921448
Commit
82123aecf1
@ -58,6 +58,7 @@ import org.geysermc.geyser.util.FileUtils;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStream;
|
||||
import java.net.SocketAddress;
|
||||
import java.nio.file.Path;
|
||||
import java.util.Map;
|
||||
import java.util.UUID;
|
||||
@ -240,6 +241,11 @@ public abstract class GeyserModBootstrap implements GeyserBootstrap {
|
||||
return ip != null ? ip : ""; // See issue #3812
|
||||
}
|
||||
|
||||
@Override
|
||||
public SocketAddress getSocketAddress() {
|
||||
return this.geyserInjector.getServerSocketAddress();
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getServerPort() {
|
||||
return ((GeyserServerPortGetter) server).geyser$getServerPort();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren