mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-09 19:49:35 +01:00
12 lines
508 B
Diff
12 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";
|
||
|
}
|