From 04fd110248ccb61361523154d76afeecc920ecc8 Mon Sep 17 00:00:00 2001 From: hannibal2 <24389977+hannibal002@users.noreply.github.com> Date: Thu, 2 May 2024 16:00:44 +0200 Subject: Fix: sendcoords too long description (#1631) Co-authored-by: hannibal2 <24389977+hannibal00212@users.noreply.github.com> --- .../java/at/hannibal2/skyhanni/features/misc/PatcherSendCoordinates.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/at/hannibal2/skyhanni') 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() -- cgit