[Bug Fix] Allow GMs to chat when stunned (#1380)

This commit is contained in:
splose authored and GitHub committed 2021-06-11 13:27:52 -05:00
1 parent f0d0c83710
commit 854a09fc84
1 file changed
+1 -1
+1 -1
View File
@@ -4214,7 +4214,7 @@ void Client::Handle_OP_ChannelMessage(const EQApplicationPacket *app)
std::cout << "Wrong size " << app->size << ", should be " << sizeof(ChannelMessage_Struct) << "+ on 0x" << std::hex << std::setfill('0') << std::setw(4) << app->GetOpcode() << std::dec << std::endl;
return;
}
if (IsAIControlled()) {
if (IsAIControlled() && !GetGM()) {
Message(Chat::Red, "You try to speak but cant move your mouth!");
return;
}