This commit is contained in:
Anuken
2020-10-23 18:24:18 -04:00
parent 953c1889b5
commit 117f002545
2 changed files with 18 additions and 8 deletions

View File

@@ -288,6 +288,10 @@ public class Schematics implements Loadable{
return loadouts.get(block, Seq::new);
}
public ObjectMap<CoreBlock, Seq<Schematic>> getLoadouts(){
return loadouts;
}
/** Checks a schematic for deployment validity and adds it to the cache. */
private void checkLoadout(Schematic s, boolean validate){
Stile core = s.tiles.find(t -> t.block instanceof CoreBlock);