aboutsummaryrefslogtreecommitdiff
path: root/src/main/java
diff options
context:
space:
mode:
authorhannibal2 <24389977+hannibal002@users.noreply.github.com>2024-05-02 16:00:44 +0200
committerGitHub <noreply@github.com>2024-05-02 16:00:44 +0200
commit04fd110248ccb61361523154d76afeecc920ecc8 (patch)
tree04e1f7dfcd482bdebc5948ebee2e65b6a9275c13 /src/main/java
parent50d16a4f7c29a206d67ff0bdb0e0a94db824357f (diff)
downloadskyhanni-04fd110248ccb61361523154d76afeecc920ecc8.tar.gz
skyhanni-04fd110248ccb61361523154d76afeecc920ecc8.tar.bz2
skyhanni-04fd110248ccb61361523154d76afeecc920ecc8.zip
Fix: sendcoords too long description (#1631)
Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com>
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/at/hannibal2/skyhanni/features/misc/PatcherSendCoordinates.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/at/hannibal2/skyhanni/features/misc/PatcherSendCoordinates.kt b/src/main/java/at/hannibal2/skyhanni/features/misc/PatcherSendCoordinates.kt
index f36e83209..7f0a45ac9 100644
--- a/src/main/java/at/hannibal2/skyhanni/features/misc/PatcherSendCoordinates.kt
+++ b/src/main/java/at/hannibal2/skyhanni/features/misc/PatcherSendCoordinates.kt
@@ -47,7 +47,7 @@ class PatcherSendCoordinates {
val end = group("z")
val z = if (end.contains(" ")) {
val split = end.split(" ")
- val extra = split.drop(1).joinToString(" ")
+ val extra = split.drop(1).joinToString(" ").take(50)
description += " $extra"
split.first().toFloat()