Made team a separate class

This commit is contained in:
Anuken
2019-12-25 19:07:04 -05:00
parent 8ac0949ddf
commit 9016c12d16
26 changed files with 86 additions and 85 deletions
+1 -1
View File
@@ -242,7 +242,7 @@ public class Vars implements Loadable{
unitGroups = new EntityGroup[Team.all.length];
for(Team team : Team.all){
unitGroups[team.ordinal()] = entities.add(BaseUnit.class).enableMapping();
unitGroups[(int) team.id] = entities.add(BaseUnit.class).enableMapping();
}
for(EntityGroup<?> group : entities.all()){