3
0
Mirror von https://github.com/GeyserMC/Geyser.git synchronisiert 2024-11-04 23:30:17 +01:00

Remove players from player team map on team remove

Dieser Commit ist enthalten in:
Camotoy 2023-02-02 16:31:26 -05:00
Ursprung 0388785ea7
Commit 25c2d30881
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: 7EEFB66FE798081F

Datei anzeigen

@ -351,6 +351,9 @@ public final class Scoreboard {
// We need to use the direct entities list here, so #refreshSessionPlayerDisplays also updates accordingly
// With the player's lack of a team in visibility checks
updateEntityNames(remove, remove.getEntities(), true);
for (String name : remove.getEntities()) {
playerToTeam.remove(name, remove);
}
session.removeCommandEnum("Geyser_Teams", remove.getId());
}