Skip to content

Commit

Permalink
fix schematics in subfolders
Browse files Browse the repository at this point in the history
  • Loading branch information
mcmonkey4eva committed Jun 23, 2016
1 parent a66b4b7 commit c4331f8
Showing 1 changed file with 1 addition and 0 deletions.
Expand Up @@ -233,6 +233,7 @@ public void run() {
set = schematics.get(name.asString().toUpperCase());
String directory = URLDecoder.decode(System.getProperty("user.dir"));
File f = new File(directory + "/plugins/Denizen/schematics/" + fname + ".schematic");
f.getParentFile().mkdirs();
// TODO: Make me waitable!
FileOutputStream fs = new FileOutputStream(f);
set.saveMCEditFormatToStream(fs);
Expand Down

0 comments on commit c4331f8

Please sign in to comment.