mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 21:33:49 -07:00
Update to Minecraft 1.13.1
This commit is contained in:
@@ -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");
|
||||
|
Reference in New Issue
Block a user