Skip to content

Commit

Permalink
fix: finnegan perk not reducing pest time
Browse files Browse the repository at this point in the history
  • Loading branch information
Morazzer committed Nov 22, 2024
1 parent 3141254 commit e66d1cc
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,9 @@ private static void buildPerks() {
}

private static void addPerk(String name) {
activePerks.add(name.replaceAll(" ", "_").replaceAll("[^\\w_]", ""));
final String s = name.replaceAll(" ", "_").replaceAll("-","_").replaceAll("[^\\w_]", "").toLowerCase();
activePerks.add(s);
System.out.println(s);
}

public static boolean isPerkActive(String perkId) {
Expand Down

0 comments on commit e66d1cc

Please sign in to comment.