mirror of
https://github.com/songoda/EpicBosses.git
synced 2025-01-07 07:47:41 +01:00
Fix IndexOutOfBounds in StringUtils.formatString
This commit is contained in:
parent
f775064ae5
commit
8d41e3fa2d
@ -113,6 +113,7 @@ public class StringUtils {
|
||||
|
||||
public String formatString(String string) {
|
||||
if (string == null) return "null";
|
||||
if (string.isEmpty()) return string;
|
||||
|
||||
string = string.toLowerCase();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user