Prefer Team#data() for team data

This commit is contained in:
Anuken
2021-06-07 15:04:45 -04:00
parent f4db208d75
commit 0582cfac2b
11 changed files with 12 additions and 14 deletions

View File

@@ -222,7 +222,7 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
}
}
TeamData data = state.teams.get(team);
TeamData data = team.data();
if(checkPrevious){
//remove existing blocks that have been placed here.