Core/Items: Prevent swapping item sets while player is in combat
This commit is contained in:
1 parent
9d06c77d7c
commit
b1bde4d01f
1 file changed
+3
@@ -1401,6 +1401,9 @@ void WorldSession::HandleEquipmentSetDelete(WorldPacket &recv_data)
|
||||
|
||||
void WorldSession::HandleEquipmentSetUse(WorldPacket &recv_data)
|
||||
{
|
||||
if (_player->isInCombat())
|
||||
return;
|
||||
|
||||
sLog->outDebug(LOG_FILTER_NETWORKIO, "CMSG_EQUIPMENT_SET_USE");
|
||||
recv_data.hexlike();
|
||||
|
||||
|
||||
Reference in new issue
Block a user