mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-17 21:33:49 -07:00
Update to Minecraft 1.10
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
|
||||
private static final AtomicInteger b = new AtomicInteger(0);
|
||||
@@ -32,6 +38,7 @@
|
||||
private String j;
|
||||
private final String j;
|
||||
private SecretKey loginKey;
|
||||
private EntityPlayer l;
|
||||
+ public String hostname = ""; // CraftBukkit - add field
|
||||
@@ -99,18 +99,9 @@
|
||||
+ }
|
||||
+ }
|
||||
+ // CraftBukkit end
|
||||
LoginListener.c.info("UUID of player " + LoginListener.this.i.getName() + " is " + LoginListener.this.i.getId());
|
||||
LoginListener.c.info("UUID of player {} is {}", new Object[] { LoginListener.this.i.getName(), LoginListener.this.i.getId()});
|
||||
LoginListener.this.g = LoginListener.EnumProtocolState.READY_TO_ACCEPT;
|
||||
} else if (LoginListener.this.server.R()) {
|
||||
@@ -156,7 +202,7 @@
|
||||
LoginListener.this.g = LoginListener.EnumProtocolState.READY_TO_ACCEPT;
|
||||
} else {
|
||||
LoginListener.this.disconnect("Failed to verify username!");
|
||||
- LoginListener.c.error("Username \'" + gameprofile.getName() + "\' tried to join with an invalid session");
|
||||
+ LoginListener.c.error("Username \'" + gameprofile.getName() + "\' tried to join with an invalid session"); // CraftBukkit - fix null pointer
|
||||
}
|
||||
} catch (AuthenticationUnavailableException authenticationunavailableexception) {
|
||||
if (LoginListener.this.server.R()) {
|
||||
@@ -167,6 +213,11 @@
|
||||
LoginListener.this.disconnect("Authentication servers are down. Please try again later, sorry!");
|
||||
LoginListener.c.error("Couldn\'t verify username because servers are unavailable");
|
||||
|
Reference in New Issue
Block a user