geforkt von Mirrors/Velocity
Fix player list header/footer not sending translated version (#1186)
Dieser Commit ist enthalten in:
Ursprung
08c03aaea2
Commit
dab64ebb59
@ -418,7 +418,8 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player,
|
|||||||
this.playerListHeader = translatedHeader;
|
this.playerListHeader = translatedHeader;
|
||||||
this.playerListFooter = translatedFooter;
|
this.playerListFooter = translatedFooter;
|
||||||
if (this.getProtocolVersion().compareTo(ProtocolVersion.MINECRAFT_1_8) >= 0) {
|
if (this.getProtocolVersion().compareTo(ProtocolVersion.MINECRAFT_1_8) >= 0) {
|
||||||
this.connection.write(HeaderAndFooter.create(header, footer, this.getProtocolVersion()));
|
this.connection.write(HeaderAndFooter.create(
|
||||||
|
translatedHeader, translatedFooter, this.getProtocolVersion()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -1290,4 +1291,4 @@ public class ConnectedPlayer implements MinecraftConnectionAssociation, Player,
|
|||||||
connectWithIndication();
|
connectWithIndication();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren