mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 18:27:23 +01:00
Fix misidentified market tax rates packet
This commit is contained in:
parent
3d32d9c59c
commit
61a0056992
1 changed files with 7 additions and 2 deletions
|
|
@ -197,8 +197,13 @@ namespace Dalamud.Game.Network {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (opCode == this.dalamud.Data.ServerOpCodes["MarketTaxRates"])
|
if (opCode == this.dalamud.Data.ServerOpCodes["MarketTaxRates"]) {
|
||||||
{
|
var category = (uint) Marshal.ReadInt32(dataPtr);
|
||||||
|
// Result dialog packet does not contain market tax rates
|
||||||
|
if (category != 720905) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
var taxes = MarketTaxRates.Read(dataPtr);
|
var taxes = MarketTaxRates.Read(dataPtr);
|
||||||
|
|
||||||
Log.Verbose("MarketTaxRates: limsa#{0} grid#{1} uldah#{2} ish#{3} kugane#{4} cr#{5}",
|
Log.Verbose("MarketTaxRates: limsa#{0} grid#{1} uldah#{2} ish#{3} kugane#{4} cr#{5}",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue