[Bug Fix] Players could become flagged as a Trader when they were not trading (#4553)

This commit is contained in:
Mitch Freeman authored and GitHub committed 2024-11-24 17:17:01 -06:00
1 parent a49d1446b7
commit 7a841c11c5
3 files changed
+7 -5

No files matched your search

+1 -1
View File
@@ -3942,7 +3942,7 @@ void WorldServer::HandleMessage(uint16 opcode, const EQ::Net::Packet &p)
c.second->QueuePacket(outapp);
safe_delete(outapp);
}
if (zone && zone->GetZoneID() == Zones::BAZAAR) {
if (zone && zone->GetZoneID() == Zones::BAZAAR && in->instance_id == zone->GetInstanceID()) {
if (in->action == TraderOn) {
c.second->SendBecomeTrader(TraderOn, in->entity_id);
}