Skip to content

Commit

Permalink
fix: Update HorizonComponentId with new component names
Browse files Browse the repository at this point in the history
  • Loading branch information
Th3Shadowbroker committed May 16, 2024
1 parent 154ec2e commit 135da1f
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ public static HorizonComponentId fromGroupId(String groupId) {
return HorizonComponentId.valueOf(groupId);
} catch (Exception exception) {
return switch (groupId.toLowerCase()) {
case "plunger" -> PLUNGER;
case "multiplexer" -> MULTIPLEXER;
case "dude" -> DUDE;
case "producer" -> PRODUCER;
case "plunger", "polaris" -> PLUNGER;
case "multiplexer", "galaxy" -> MULTIPLEXER;
case "dude", "comet" -> DUDE;
case "producer", "starlight" -> PRODUCER;
case "voyager" -> VOYAGER;
case "tasse" -> TASSE;
case "tasse", "pulsar" -> TASSE;
default -> UNSET;
};
}
Expand Down

0 comments on commit 135da1f

Please sign in to comment.