Sync core units with spawner block database tab
This commit is contained in:
@@ -147,6 +147,14 @@ public class CoreBlock extends StorageBlock{
|
||||
super.init();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void postInit(){
|
||||
super.postInit();
|
||||
|
||||
//sync shown planets with unit spawned
|
||||
unitType.shownPlanets.addAll(shownPlanets);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean canBreak(Tile tile){
|
||||
return state.isEditor();
|
||||
|
||||
Reference in New Issue
Block a user