Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-16 21:10:30 +01:00
Fix TabList NPE
Dieser Commit ist enthalten in:
Ursprung
efcfeb3e53
Commit
eb03feebd9
@ -252,7 +252,8 @@ public class VelocityTabList implements InternalTabList {
|
|||||||
currentEntry.setLatencyWithoutUpdate(entry.getLatency());
|
currentEntry.setLatencyWithoutUpdate(entry.getLatency());
|
||||||
}
|
}
|
||||||
if (actions.contains(UpsertPlayerInfo.Action.UPDATE_DISPLAY_NAME)) {
|
if (actions.contains(UpsertPlayerInfo.Action.UPDATE_DISPLAY_NAME)) {
|
||||||
currentEntry.setDisplayNameWithoutUpdate(entry.getDisplayName().getComponent());
|
currentEntry.setDisplayNameWithoutUpdate(entry.getDisplayName() != null
|
||||||
|
? entry.getDisplayName().getComponent() : null);
|
||||||
}
|
}
|
||||||
if (actions.contains(UpsertPlayerInfo.Action.INITIALIZE_CHAT)) {
|
if (actions.contains(UpsertPlayerInfo.Action.INITIALIZE_CHAT)) {
|
||||||
currentEntry.setChatSession(entry.getChatSession());
|
currentEntry.setChatSession(entry.getChatSession());
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren