Added unit stances

This commit is contained in:
Anuken
2023-09-20 21:55:06 -04:00
parent 0d1c56fb60
commit 3e15f70efa
11 changed files with 206 additions and 30 deletions

View File

@@ -361,11 +361,11 @@ public class CoreBlock extends StorageBlock{
public void changeTeam(Team next){
if(this.team == next) return;
state.teams.unregisterCore(this);
onRemoved();
super.changeTeam(next);
state.teams.registerCore(this);
onProximityUpdate();
Events.fire(new CoreChangeEvent(this));
}