Skip to content

Commit e32d014

Browse files
authored
Fix split
1 parent 9d3e471 commit e32d014

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plugin/src/main/kotlin/trplugins/menu/module/internal/script/FunctionParser.kt

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ object FunctionParser {
7979

8080
private fun parseLangText(player: Player, text: String): String {
8181
val split = text.split("=", limit = 2)
82-
return HookPlugin.getTriton().getText(player, split[0], if (split.size < 2) emptyArray() else split[1].split("_\\|\\|_").toTypedArray()).toString()
82+
return HookPlugin.getTriton().getText(player, split[0], if (split.size < 2) emptyArray() else split[1].split("_||_").toTypedArray()).toString()
8383
}
8484

85-
}
85+
}

0 commit comments

Comments
 (0)