Skip to content

Commit

Permalink
Added Oshur Unstable Meltdown alert types
Browse files Browse the repository at this point in the history
  • Loading branch information
Maelstromeous committed Mar 15, 2024
1 parent 582ce3c commit 5ee7bfa
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/utils/eventId.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import {Zone} from '../ps2alerts-constants/zone';
import {Faction} from '../ps2alerts-constants/faction';
import {MetagameEventType} from '../ps2alerts-constants/metagameEventType';
import ApplicationException from '../exceptions/ApplicationException';

export default class EventId {
// FML
Expand Down Expand Up @@ -246,10 +245,6 @@ export default class EventId {
return EventId.normalStateZoneFactionMap.get(zone).get(faction);
}

if (zone === Zone.OSHUR) {
throw new ApplicationException('Oshur does not have meltdown alerts');
}

// eslint-disable-next-line @typescript-eslint/ban-ts-comment
// @ts-ignore
return EventId.unstableMeltdownZoneFactionMap.get(zone).get(faction);
Expand Down

0 comments on commit 5ee7bfa

Please sign in to comment.