Core/Vendors: Support for vendors with empty inventory list

Port From (https://github.com/TrinityCore/TrinityCore/commit/bedc0503578b220b19d23559f670f65d26c8bc87)
This commit is contained in:
hondacrx
2021-10-03 22:27:11 -04:00
parent 6bc25f3227
commit 025595cba1
3 changed files with 11 additions and 10 deletions
+2
View File
@@ -564,6 +564,8 @@ namespace Game
break;
}
packet.Reason = (byte)(count != 0 ? VendorInventoryReason.None : VendorInventoryReason.Empty);
SendPacket(packet);
}
}