File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed
src/main/java/cyano/orespawn Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change @@ -29,12 +29,12 @@ allprojects {
2929}
3030
3131
32- version = " 1.0.3 "
32+ version = " 1.1.0 "
3333group= " cyano.orespawn"
34- archivesBaseName = " OreSpawn_1.9.4 "
34+ archivesBaseName = " OreSpawn_1.10.2 "
3535
3636minecraft {
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}
Original file line number Diff line number Diff 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 ){
You can’t perform that action at this time.
0 commit comments