Skip to content

Commit 0c0fc39

Browse files
Update YepPaperPlugin.kt
1 parent 5c84661 commit 0c0fc39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/kotlin/org/elliotnash/yeppaper/YepPaperPlugin.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const val YEP_ADV_CHALLENGE = "CHALLENGE"
2424
class YepPaperPlugin : JavaPlugin(), Listener {
2525
private val textSerializer = PlainTextComponentSerializer.plainText()
2626

27-
private val colorCodeRegex = "&[0-9a-fk-or]".toRegex(RegexOption.IGNORE_CASE)
27+
private val colorCodeRegex = "&[0-9a-fk-orx]".toRegex(RegexOption.IGNORE_CASE)
2828

2929
override fun onEnable() {
3030
Bukkit.getPluginManager().registerEvents(this, this)

0 commit comments

Comments
 (0)