f835a91d15
Upstream has added the equivalent of our SentientNPC API, with exception to the EnderDragon. We've added Mob to the EnderDragon, and our SentientNPC API should behave the same. Vex#getOwner has been deprecated and a replacement Vex#getSummoner has been added using Mob. However, since 1.13 is not production ready, SentientNPC API is subject for removal in 1.13.1 since 1.13 API is not compatible with 1.12. Please move to the Mob interface ASAP. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: c5ab54d8 Expand GameRule API ab9a606c Improve entity hierarchy by adding Mob interface. CraftBukkit Changes:29e75648
Expand GameRule API50e6858b
Improve entity hierarchy by adding Mob interface.0e1d79b4
Correct error in previous patch
25 Zeilen
1.2 KiB
Diff
25 Zeilen
1.2 KiB
Diff
From dad3c99488eaf5ef540bfd4c1de8e161ab5ebbb7 Mon Sep 17 00:00:00 2001
|
|
From: Aikar <aikar@aikar.co>
|
|
Date: Wed, 25 Jul 2018 01:21:05 -0400
|
|
Subject: [PATCH] repair bad rcon.ip settings temporarily
|
|
|
|
accidently missed mapping change, and we defaulted rcon.ip to the server.properties file path
|
|
|
|
clean up values for people, drop this patch after like 2 weeks.
|
|
|
|
diff --git a/src/main/java/net/minecraft/server/RemoteControlListener.java b/src/main/java/net/minecraft/server/RemoteControlListener.java
|
|
index c237f239f3..1319b3b916 100644
|
|
--- a/src/main/java/net/minecraft/server/RemoteControlListener.java
|
|
+++ b/src/main/java/net/minecraft/server/RemoteControlListener.java
|
|
@@ -25,6 +25,7 @@ public class RemoteControlListener extends RemoteConnectionThread {
|
|
this.h = iminecraftserver.a("rcon.port", 0);
|
|
this.l = iminecraftserver.a("rcon.password", "");
|
|
this.j = iminecraftserver.a("rcon.ip", ((DedicatedServer) iminecraftserver).getServerIp()); // Paper
|
|
+ if (this.j.equals(iminecraftserver.d_())) this.j = ((DedicatedServer) iminecraftserver).getServerIp(); // Paper - temporary - remove this after like 2 weeks - repair bad settings
|
|
this.i = iminecraftserver.f();
|
|
if (0 == this.h) {
|
|
this.h = this.i + 10;
|
|
--
|
|
2.18.0
|
|
|