This commit is contained in:
DeltaNedas 2020-11-10 23:33:53 +00:00
parent 71ae9e1274
commit 6ba0bfe06a

View file

@ -133,7 +133,7 @@ public class Schematics implements Loadable{
try{
write(newSchematic, target.file);
}catch(Exception e){
Log.err("Failed to overwrite schematic '@' (@)", newSchematic.name, target.file);
Log.err("Failed to overwrite schematic '@' (@)", newSchematic.name(), target.file);
Log.err(e);
ui.showException(e);
}
@ -190,7 +190,7 @@ public class Schematics implements Loadable{
try{
return getBuffer(schematic).getTexture();
}catch(Throwable t){
Log.err("Failed to get preview for schematic '@' (@)", schematic.name, schematic.file);
Log.err("Failed to get preview for schematic '@' (@)", schematic.name(), schematic.file);
Log.err(t);
errored.add(schematic);
return errorTexture;