Unit commands/stances changed to Seq

This commit is contained in:
Anuken
2024-10-11 22:00:07 -04:00
parent d6073201bb
commit 0e83b60aac
5 changed files with 28 additions and 32 deletions

View File

@@ -525,7 +525,7 @@ public class PlacementFragment{
firstCommand = true;
}else{
//remove commands that this next unit type doesn't have
commands.removeAll(com -> !Structs.contains(type.commands, com));
commands.removeAll(com -> !type.commands.contains(com));
}
if(!firstStance){
@@ -533,7 +533,7 @@ public class PlacementFragment{
firstStance = true;
}else{
//remove commands that this next unit type doesn't have
stances.removeAll(st -> !Structs.contains(type.stances, st));
stances.removeAll(st -> !type.stances.contains(st));
}
}
}