diff --git a/src/commonMain/kotlin/xyz/wagyourtail/unimined/mapping/formats/at/ATReader.kt b/src/commonMain/kotlin/xyz/wagyourtail/unimined/mapping/formats/at/ATReader.kt index 9a70f21..f0bbcb7 100644 --- a/src/commonMain/kotlin/xyz/wagyourtail/unimined/mapping/formats/at/ATReader.kt +++ b/src/commonMain/kotlin/xyz/wagyourtail/unimined/mapping/formats/at/ATReader.kt @@ -125,7 +125,7 @@ object ATReader : FormatReader { val targetClass = InternalName.read(input.takeUntil { it.isWhitespace() }.replace(".", "/")) input.takeNonNewlineWhitespace() val memberName = if (input.peek() == '#') null else input.takeUntil { it.isWhitespace() || it == '(' }.ifEmpty { null } - val memberDesc = if (memberName == null) null else input.takeUntil { it.isWhitespace() }.ifEmpty { null } + val memberDesc = if (memberName == null) null else input.takeUntil { it.isWhitespace() }.ifEmpty { null }?.replace(".", "/") val remaining = input.takeLine().trimStart() if (remaining.isNotEmpty() && remaining.first() != '#') {