Skip to content

Commit ae8cc6d

Browse files
committed
One last update, for old time's sake
1 parent 9ec650d commit ae8cc6d

File tree

2 files changed

+11
-4
lines changed

2 files changed

+11
-4
lines changed

build.gradle

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ allprojects {
2929
}
3030

3131

32-
version = "1.0.3"
32+
version = "1.1.0"
3333
group= "cyano.orespawn"
34-
archivesBaseName = "OreSpawn_1.9.4"
34+
archivesBaseName = "OreSpawn_1.10.2"
3535

3636
minecraft {
37-
version = "1.9.4-12.17.0.1922-1.9.4"
37+
version = "1.10.2-12.18.1.2011"
3838
runDir = "run"
3939
mappings = "snapshot_20160518"
4040
}

src/main/java/cyano/orespawn/OreSpawn.java

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public class OreSpawn
4747
public static final String NAME ="Ore Spawn";
4848
/** Version number, in Major.Minor.Build format. The minor number is increased whenever a change
4949
* is made that has the potential to break compatibility with other mods that depend on this one. */
50-
public static final String VERSION = "1.0.3";
50+
public static final String VERSION = "1.1.0";
5151

5252
/** All ore-spawn files discovered in the ore-spawn folder */
5353
public static final List<Path> oreSpawnConfigFiles = new LinkedList<>();
@@ -95,6 +95,13 @@ public void preInit(FMLPreInitializationEvent event)
9595
}
9696

9797
oreSpawnFolder = Paths.get(event.getSuggestedConfigurationFile().toPath().getParent().toString(),"orespawn");
98+
if(!Files.isDirectory(oreSpawnFolder)){
99+
try{
100+
Files.createDirectories(oreSpawnFolder);
101+
} catch (IOException e) {
102+
FMLLog.severe(MODID+": Error: Failed to make folder "+oreSpawnFolder);
103+
}
104+
}
98105

99106
Path oreVanillaSpawnFile = Paths.get(oreSpawnFolder.toString(),"minecraft.json");
100107
if(disableVanillaOreGen && Files.exists(oreVanillaSpawnFile) == false){

0 commit comments

Comments
 (0)