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