aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/at
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java/at')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/config/features/chat/PlayerMessagesConfig.java2
-rw-r--r--src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt6
2 files changed, 4 insertions, 4 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/config/features/chat/PlayerMessagesConfig.java b/src/main/java/at/hannibal2/skyhanni/config/features/chat/PlayerMessagesConfig.java
index b7b4cc792..8e279b1e3 100644
--- a/src/main/java/at/hannibal2/skyhanni/config/features/chat/PlayerMessagesConfig.java
+++ b/src/main/java/at/hannibal2/skyhanni/config/features/chat/PlayerMessagesConfig.java
@@ -13,7 +13,7 @@ import java.util.List;
public class PlayerMessagesConfig {
@Expose
- @ConfigOption(name = "Enable Chat Formatting", desc = "Enable player caht modifications. Required for all settings below.")
+ @ConfigOption(name = "Enable Chat Formatting", desc = "Enable player chat modifications. Required for all settings below.")
@ConfigEditorBoolean
@FeatureToggle
public boolean enable = true;
diff --git a/src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt b/src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt
index 433078b5f..56a366dc3 100644
--- a/src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt
+++ b/src/main/java/at/hannibal2/skyhanni/utils/StringUtils.kt
@@ -335,9 +335,9 @@ object StringUtils {
return null
}
- val originalText = LorenzUtils.stripVanillaMessage(original.formattedText)
- val newTextt = LorenzUtils.stripVanillaMessage(newText)
- if (originalText == newTextt) return null
+ val originalClean = LorenzUtils.stripVanillaMessage(original.formattedText)
+ val newTextClean = LorenzUtils.stripVanillaMessage(newText)
+ if (originalClean == newTextClean) return null
val text = ChatComponentText(newText)
if (size == 1) {