Skip to content

Commit

Permalink
Update Regex information
Browse files Browse the repository at this point in the history
Signed-off-by: Walker Selby <[email protected]>
  • Loading branch information
walkerselby committed Dec 22, 2023
1 parent acbc0df commit 3784e2d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,10 @@ You can write in the description of the pr the wording for the changelog as well
- Don't forget to add `@FeatureToggle` to new standalone features (not options to that feature) in the config.
- Do not use `e.printStackTrace()`, use `CopyErrorCommand.logError(e, "explanation for users")` instead.
- Do not use `MinecraftForge.EVENT_BUS.post(event)`, use `event.postAndCatch()` instead.
- Do not use `toRegex()`, use `toPattern()` instead.
- Do not use `toRegex()` or `toPattern()`, use `RepoPattern` instead.
-
See [RepoPattern.kt](https://github.com/walkerselby/SkyHanni/blob/beta/src/main/java/at/hannibal2/skyhanni/utils/repopatterns/RepoPattern.kt)
for more information and usages
- Please use Regex instead of String comparison when it is likely Hypixel will change the message in the future.

## Software Used in SkyHanni
Expand Down

0 comments on commit 3784e2d

Please sign in to comment.