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

This commit is contained in:
Mitch Freeman
2024-11-24 19:17:01 -04:00
committed by GitHub
parent a49d1446b7
commit 7a841c11c5
3 changed files with 7 additions and 5 deletions
+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);
}