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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user