Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-16 21:10:30 +01:00
Fix missing assignment of playerKey in ServerLogin constructor (#776)
Dieser Commit ist enthalten in:
Ursprung
c03d7e259c
Commit
e8bf6ab522
@ -40,6 +40,7 @@ public class ServerLogin implements MinecraftPacket {
|
|||||||
|
|
||||||
public ServerLogin(String username, @Nullable IdentifiedKey playerKey) {
|
public ServerLogin(String username, @Nullable IdentifiedKey playerKey) {
|
||||||
this.username = Preconditions.checkNotNull(username, "username");
|
this.username = Preconditions.checkNotNull(username, "username");
|
||||||
|
this.playerKey = playerKey;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String getUsername() {
|
public String getUsername() {
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren