mirror of
https://github.com/Minestom/Minestom.git
synced 2025-01-04 07:28:19 +01:00
send teams on join (#803)
This commit is contained in:
parent
40024da5c9
commit
5469fef417
@ -265,6 +265,11 @@ public class Player extends LivingEntity implements CommandSender, Localizable,
|
||||
if (player != this) sendPacket(player.getAddPlayerToList());
|
||||
}
|
||||
|
||||
//Teams
|
||||
for (Team team : MinecraftServer.getTeamManager().getTeams()) {
|
||||
sendPacket(team.createTeamsCreationPacket());
|
||||
}
|
||||
|
||||
// Commands
|
||||
refreshCommands();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user