mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-25 09:34:44 +01:00
b414f3d993
For servers with multiple IP's, ability to bind to a specific interface. == AT == public net.minecraft.server.dedicated.Settings getStringRaw(Ljava/lang/String;)Ljava/lang/String;
11 lines
508 B
Diff
11 lines
508 B
Diff
--- a/net/minecraft/server/rcon/thread/RconThread.java
|
|
+++ b/net/minecraft/server/rcon/thread/RconThread.java
|
|
@@ -57,7 +57,7 @@
|
|
@Nullable
|
|
public static RconThread create(ServerInterface server) {
|
|
DedicatedServerProperties dedicatedServerProperties = server.getProperties();
|
|
- String string = server.getServerIp();
|
|
+ String string = dedicatedServerProperties.rconIp; // Paper - Configurable rcon ip
|
|
if (string.isEmpty()) {
|
|
string = "0.0.0.0";
|
|
}
|