text: fix removelevels eating a char

This commit is contained in:
ThatGamerBlue
2021-02-25 06:09:26 +00:00
parent 50359db0f2
commit cf66a2834c

View File

@@ -94,7 +94,7 @@ public class Text
int levelIdx = StringUtils.lastIndexOf(str, " (level"); int levelIdx = StringUtils.lastIndexOf(str, " (level");
if (levelIdx >= 0) if (levelIdx >= 0)
{ {
strLen = levelIdx; strLen = levelIdx + 1;
} }
} }