Skip to content

Commit

Permalink
don't filter item data with no zone ID
Browse files Browse the repository at this point in the history
  • Loading branch information
kayla-glick committed Jun 30, 2024
1 parent 031793d commit 5ae1113
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/core/player.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1159,7 +1159,7 @@ export class Player<SpecType extends Spec> {
for (const zoneName in ExcludedZones) {
const zoneId = ExcludedZones[zoneName];

if (typeof zoneId == 'number') {
if (typeof zoneId == 'number' && zoneId != 0) {
itemData = filterItems(
itemData,
item => !item.sources.some(itemSrc => itemSrc.source.oneofKind == 'drop' && itemSrc.source.drop.zoneId == zoneId),
Expand Down

0 comments on commit 5ae1113

Please sign in to comment.