mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-11-26 00:38:35 +01:00
Don't make directories
This commit is contained in:
parent
52b8196220
commit
5bd872620c
3 changed files with 0 additions and 3 deletions
|
@ -78,7 +78,6 @@ public class ExtraClientData{
|
|||
public static File getTheFile(){
|
||||
try{
|
||||
if(!theFile.exists()){
|
||||
theFile.mkdirs();
|
||||
theFile.createNewFile();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -93,7 +93,6 @@ public class WorldData{
|
|||
|
||||
if(dataFile != null){
|
||||
if(!dataFile.exists()){
|
||||
dataFile.mkdirs();
|
||||
dataFile.createNewFile();
|
||||
ModUtil.LOGGER.info("Creating new WorldData file for world "+data.dimension+"!");
|
||||
}
|
||||
|
|
|
@ -94,7 +94,6 @@ public class ClientProxy implements IProxy{
|
|||
if(ConfigBoolValues.BOOKLET_TEXT_TO_FILE.isEnabled()){
|
||||
File file = new File(Minecraft.getMinecraft().mcDataDir, ModUtil.MOD_ID+"booklettext.txt");
|
||||
try{
|
||||
file.mkdirs();
|
||||
file.createNewFile();
|
||||
BufferedWriter writer = new BufferedWriter(new FileWriter(file));
|
||||
writer.write(TextFormatting.getTextWithoutFormattingCodes(bookletText));
|
||||
|
|
Loading…
Reference in a new issue