Move WinEffectGadget schematics to update folder

This commit is contained in:
cnr 2016-07-13 06:36:42 -05:00
parent e40abd4859
commit 7df228a8fa

View File

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