Revert temporary folder for schematics

This commit is contained in:
LCastr0 2017-05-03 22:08:31 -03:00
parent bbfa632106
commit ddd196ba0c

View File

@ -371,9 +371,7 @@ public abstract class WinEffectGadget extends Gadget
public Schematic pasteScematic(String schematicName) {
try
{
// TODO CHANGE FOLDER
//Schematic schematic = UtilSchematic.loadSchematic(new File("../../update/schematic/" + schematicName + ".schematic"));
Schematic schematic = UtilSchematic.loadSchematic(new File("../../schematics/" + schematicName + ".schematic"));
Schematic schematic = UtilSchematic.loadSchematic(new File("../../update/schematic/" + schematicName + ".schematic"));
if (schematic != null)
schematic.paste(getBaseLocation(), false, true);
return schematic;