diff options
Diffstat (limited to 'src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt')
-rw-r--r-- | src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt index 0622ff568..18e097ae3 100644 --- a/src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt +++ b/src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt @@ -200,7 +200,7 @@ object StringUtils { return chatComponent } - fun String.getPlayerName(): String? { + fun String.getPlayerNameFromChatMessage(): String? { if (!playerChatPattern.matcher(this).matches()) return null var username = this.removeColor().split(":")[0] |