Fix template export

This commit is contained in:
NotMyFault 2019-08-13 03:13:03 +02:00
parent f1c190028e
commit b1391bd6d7

View File

@ -43,7 +43,7 @@ public class HybridPlotManager extends ClassicPlotManager {
Files.readAllBytes(sideroad.toPath())));
}
File intersection =
MainUtil.getFile(PlotSquared.get().IMP.getDirectory(), "intersection.schem");
MainUtil.getFile(PlotSquared.get().IMP.getDirectory(), dir + "intersection.schem");
if (intersection.exists()) {
files.add(new FileBytes(newDir + "intersection.schem",
Files.readAllBytes(intersection.toPath())));