Fixed last formating problem

This commit is contained in:
lukasabbe
2024-09-29 16:38:18 +02:00
parent e724b314c2
commit e93c3ffa81
@@ -93,8 +93,8 @@ public abstract class WritableBookMixin extends Screen {
}
}
int popedSize = popedElemnt.length();
if(popedElemnt.split(" ").length > 0)
popedSize++;
if(popedElemnt.split(" ").length == 0)
popedSize--;
return new String[]{substring.toString(), Integer.toString(i-popedSize)};
}
return new String[]{null, null};