We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9367745 commit a5dbd10Copy full SHA for a5dbd10
1 file changed
Retainers/HelperFunctions.cs
@@ -282,8 +282,8 @@ public static uint FindCheapestZone(IEnumerable<uint> zones)
282
.DistinctBy(i => i.ZoneId)
283
.ToDictionary(i => i.ZoneId, i => i.GilCost);
284
return enumerable
285
- .Where(j => locationCostByZone.ContainsKey(j))
286
- .OrderBy(j => locationCostByZone[j])
+ .Where(j => locationCostByZone.ContainsKey((ushort)j))
+ .OrderBy(j => locationCostByZone[(ushort)j])
287
.First();
288
}
289
0 commit comments