Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-17 05:20:14 +01:00
Merge pull request #896 from CoreyShupe/hotfix/add-profile-during-entry-add
Fix profile presence
Dieser Commit ist enthalten in:
Commit
92b94206b9
@ -120,6 +120,7 @@ public class VelocityTabList implements InternalTabList {
|
|||||||
actions.addAll(EnumSet.of(UpsertPlayerInfo.Action.ADD_PLAYER,
|
actions.addAll(EnumSet.of(UpsertPlayerInfo.Action.ADD_PLAYER,
|
||||||
UpsertPlayerInfo.Action.UPDATE_LATENCY,
|
UpsertPlayerInfo.Action.UPDATE_LATENCY,
|
||||||
UpsertPlayerInfo.Action.UPDATE_LISTED));
|
UpsertPlayerInfo.Action.UPDATE_LISTED));
|
||||||
|
playerInfoEntry.setProfile(entry.getProfile());
|
||||||
if (entry.getDisplayNameComponent().isPresent()) {
|
if (entry.getDisplayNameComponent().isPresent()) {
|
||||||
actions.add(UpsertPlayerInfo.Action.UPDATE_DISPLAY_NAME);
|
actions.add(UpsertPlayerInfo.Action.UPDATE_DISPLAY_NAME);
|
||||||
playerInfoEntry.setDisplayName(entry.getDisplayNameComponent().get());
|
playerInfoEntry.setDisplayName(entry.getDisplayNameComponent().get());
|
||||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren