Skip to content

Commit

Permalink
Update src/main/java/ch/njol/skript/effects/EffReplace.java
Browse files Browse the repository at this point in the history
Co-authored-by: Patrick Miller <[email protected]>
  • Loading branch information
sovdeeth and APickledWalrus authored Jun 28, 2024
1 parent 73da21b commit 026655e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/ch/njol/skript/effects/EffReplace.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@
"",
"# Very simple chat censor",
"on chat:",
"\treplace all \"kys\", \"idiot\" and \"noob\" with \"****\" in the message",
"\treplace using regex \"\\b(kys|idiot|noob)\\b\" with \"****\" in the message # Regex version for better results",
"\treplace all \"idiot\" and \"noob\" with \"****\" in the message",
"\treplace using regex \"\\b(idiot|noob)\\b\" with \"****\" in the message # Regex version for better results",
"",
"replace all stone and dirt in player's inventory and player's top inventory with diamond"
})
Expand Down

0 comments on commit 026655e

Please sign in to comment.