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