Fixed some more bizarre bugs

This commit is contained in:
Anuken
2022-03-01 21:10:53 -05:00
parent 6df7106938
commit 76c972acfb
7 changed files with 31 additions and 8 deletions

View File

@@ -74,6 +74,10 @@ public class Teams{
return map[team.id] == null ? (map[team.id] = new TeamData(team)) : map[team.id];
}
public @Nullable TeamData getOrNull(Team team){
return map[team.id];
}
public Seq<CoreBuild> playerCores(){
return get(state.rules.defaultTeam).cores;
}