mirror of
https://git.krews.org/morningstar/Arcturus-Community.git
synced 2024-11-27 08:50:51 +01:00
Merge branch 'patch-1' into 'dev'
fix(ModToolSanctionInfoComposer): OoB See merge request morningstar/Arcturus-Community!86
This commit is contained in:
commit
7cd8d50371
@ -38,7 +38,7 @@ public class ModToolSanctionInfoComposer extends MessageComposer {
|
|||||||
ModToolSanctionItem item = modToolSanctionItems.get(modToolSanctionItems.size() - 1);
|
ModToolSanctionItem item = modToolSanctionItems.get(modToolSanctionItems.size() - 1);
|
||||||
|
|
||||||
ModToolSanctionItem prevItem = null;
|
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);
|
prevItem = modToolSanctionItems.get(modToolSanctionItems.size() - 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user