From ce1af0c348a8477f9ec58d79e6267e9226dc5dba Mon Sep 17 00:00:00 2001 From: md_5 Date: Sun, 26 Aug 2018 12:00:00 +1000 Subject: Update to Minecraft 1.13.1 --- nms-patches/LoginListener.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'nms-patches/LoginListener.patch') diff --git a/nms-patches/LoginListener.patch b/nms-patches/LoginListener.patch index f1671027..75e20b64 100644 --- a/nms-patches/LoginListener.patch +++ b/nms-patches/LoginListener.patch @@ -57,7 +57,7 @@ + // CraftBukkit end } else { this.g = LoginListener.EnumProtocolState.ACCEPTED; - if (this.server.ay() >= 0 && !this.networkManager.isLocal()) { + if (this.server.aw() >= 0 && !this.networkManager.isLocal()) { @@ -94,9 +117,9 @@ if (entityplayer != null) { @@ -72,7 +72,7 @@ @@ -141,6 +164,43 @@ - LoginListener.this.i = LoginListener.this.server.ar().hasJoinedServer(new GameProfile((UUID) null, gameprofile.getName()), s, this.a()); + LoginListener.this.i = LoginListener.this.server.ap().hasJoinedServer(new GameProfile((UUID) null, gameprofile.getName()), s, this.a()); if (LoginListener.this.i != null) { + // CraftBukkit start - fire PlayerPreLoginEvent + if (!networkManager.isConnected()) { @@ -113,7 +113,7 @@ + // CraftBukkit end LoginListener.c.info("UUID of player {} is {}", LoginListener.this.i.getName(), LoginListener.this.i.getId()); LoginListener.this.g = LoginListener.EnumProtocolState.READY_TO_ACCEPT; - } else if (LoginListener.this.server.J()) { + } else if (LoginListener.this.server.H()) { @@ -160,6 +220,11 @@ LoginListener.this.disconnect(new ChatMessage("multiplayer.disconnect.authservers_down", new Object[0])); LoginListener.c.error("Couldn\'t verify username because servers are unavailable"); -- cgit v1.2.3