Check for size 0 StringBuilder size.
This commit is contained in:
parent
2e1eaeba37
commit
94e4645e85
Binary file not shown.
@ -790,7 +790,9 @@ public class TwosideKeeper extends JavaPlugin implements Listener {
|
||||
finalstring.append(TwosideKeeper.log_messages.get(i)+"\n");
|
||||
}
|
||||
TwosideKeeper.log_messages.clear();
|
||||
DiscordMessageSender.sendToSpam(finalstring.toString());
|
||||
if (finalstring.length()>0) {
|
||||
DiscordMessageSender.sendToSpam(finalstring.toString());
|
||||
}
|
||||
}
|
||||
|
||||
private double subtractVanillaArmorBar(ItemStack[] armorContents) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user