Skip to content
This repository has been archived by the owner on Aug 8, 2024. It is now read-only.

Commit

Permalink
fix: Fixed TAB_EFFECT_PATTERN regex (#686)
Browse files Browse the repository at this point in the history
fix: Fixed TAB_EFFECT_PATTERN regex so that Saviour's Sacrifice shows up in status effects list
  • Loading branch information
ENORMOUZ committed Aug 12, 2023
1 parent 1677480 commit 46408de
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ CG3 is the duration string (eg. "1:23")
https://regexr.com/729qc
*/
private static final Pattern TAB_EFFECT_PATTERN = Pattern.compile("(.+?§7 ?(?:\\d+(?:\\.\\d+)?%)?) ?([%\\-+\\/\\da-zA-Z\\s]+?) §[84a]\\((.+?)\\).*");
private static final Pattern TAB_EFFECT_PATTERN = Pattern.compile("(.+?§7 ?(?:\\d+(?:\\.\\d+)?%)?) ?(['%\\-+\\/\\da-zA-Z\\s]+?) §[84a]\\((.+?)\\).*");

/**
* Updates the ConsumableTimerOverlay with the effects from the tab list
Expand Down

0 comments on commit 46408de

Please sign in to comment.