Merge remote-tracking branch 'origin/dev' into dev

This commit is contained in:
Alejandro 2020-01-28 13:55:20 +02:00
commit b33979e702

View File

@ -38,7 +38,7 @@ public class ModToolSanctionInfoComposer extends MessageComposer {
ModToolSanctionItem item = modToolSanctionItems.get(modToolSanctionItems.size() - 1);
ModToolSanctionItem prevItem = null;
if (modToolSanctionItems.get(modToolSanctionItems.size() - 2) != null) {
if (modToolSanctionItems.size() > 1 && modToolSanctionItems.get(modToolSanctionItems.size() - 2) != null) {
prevItem = modToolSanctionItems.get(modToolSanctionItems.size() - 2);
}