This commit is contained in:
Anuken
2020-11-24 09:00:34 -05:00
parent 2282cb89b1
commit 058b2ddfce
7 changed files with 14 additions and 8 deletions
+5
View File
@@ -127,6 +127,9 @@ public class Schematics implements Loadable{
newSchematic.tags.putAll(target.tags);
newSchematic.file = target.file;
loadouts.each((block, list) -> list.remove(target));
checkLoadout(target, true);
try{
write(newSchematic, target.file);
}catch(Exception e){
@@ -134,6 +137,8 @@ public class Schematics implements Loadable{
Log.err(e);
ui.showException(e);
}
}
private @Nullable Schematic loadFile(Fi file){