fix crash

tested that sending an empty packet with this messageID no longer crashes the chat server
This commit is contained in:
David Markowitz 2024-10-30 00:02:37 -07:00
parent bfe6900c26
commit e0cc79c381

View File

@ -148,9 +148,8 @@ void PlayerContainer::CreateTeamServer(Packet* packet) {
if (team != nullptr) { if (team != nullptr) {
team->zoneId = zoneId; team->zoneId = zoneId;
UpdateTeamsOnWorld(team, false);
} }
UpdateTeamsOnWorld(team, false);
} }
void PlayerContainer::BroadcastMuteUpdate(LWOOBJID player, time_t time) { void PlayerContainer::BroadcastMuteUpdate(LWOOBJID player, time_t time) {