mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/jpexs-decompiler.git
synced 2026-05-31 11:44:36 +00:00
new line chars in edit text fixed
This commit is contained in:
@@ -597,7 +597,9 @@ public class DefineEditTextTag extends TextTag {
|
||||
if (s2 == null) {
|
||||
s2 = "";
|
||||
}
|
||||
|
||||
formattedText += (texts == null || textIdx >= texts.length) ? s2 : texts[textIdx++];
|
||||
formattedText = formattedText.replace("\r\n", "\r");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user