Fixed Empty Dungeon Guide Bug

Fixed the bug that caused "How_to_add_dungeons.txt" to be copied as an
empty file. The reason was very subtle. Also moved the file to a
different directory.
This commit is contained in:
SenseiKiwi
2013-06-20 04:47:16 -04:00
parent 58b72b3b5a
commit 248f14971e
3 changed files with 7 additions and 7 deletions

View File

@@ -112,7 +112,7 @@ public class DungeonHelper
File file = new File(properties.CustomSchematicDirectory);
if (file.exists() || file.mkdir())
{
copyfile.copyFile("/mods/DimDoors/How_to_add_dungeons.txt", file.getAbsolutePath() + "/How_to_add_dungeons.txt");
copyfile.copyFile("/mods/DimDoors/text/How_to_add_dungeons.txt", file.getAbsolutePath() + "/How_to_add_dungeons.txt");
}
registerFlipBlocks();
importCustomDungeons(properties.CustomSchematicDirectory);