Sync core units with spawner block database tab

This commit is contained in:
Anuken
2025-02-10 13:50:27 -05:00
parent 5f8f0140a2
commit c32b304c78

View File

@@ -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();