Core/PacketIO: Updated SMSG_FEATURE_SYSTEM_STATUS to 9.1.5

Port From (https://github.com/TrinityCore/TrinityCore/commit/9630c1b1e5606664ef11a308319db4d21d4c168c)
This commit is contained in:
hondacrx
2021-11-07 17:05:45 -05:00
parent c6dbd790c1
commit bbb4f33e16
2 changed files with 11 additions and 17 deletions
+3 -4
View File
@@ -1112,11 +1112,10 @@ namespace Game
features.WarModeFeatureEnabled = WorldConfig.GetBoolValue(WorldCfg.FeatureSystemWarModeEnabled);
features.IsMuted = !CanSpeak();
SendPacket(features);
FeatureSystemStatus2 features2 = new();
features2.TextToSpeechFeatureEnabled = false;
SendPacket(features2);
features.TextToSpeechFeatureEnabled = false;
SendPacket(features);
}
[WorldPacketHandler(ClientOpcodes.SetFactionAtWar)]