Permalink
Browse files

Fix biome ids in Forge version, update .gitignore

  • Loading branch information...
1 parent 19d36f2 commit 7cb1e6a6f2328b1d2bc9d845576524ea08b44133 @rutgerkok rutgerkok committed Feb 9, 2014
Showing with 9 additions and 7 deletions.
  1. +7 −6 .gitignore
  2. +2 −1 platforms/forge/src/main/java/com/khorn/terraincontrol/forge/ForgeWorld.java
View
@@ -28,13 +28,14 @@ out
localexport.jardesc
# Minecraft and Forge files
-assets
-*.log
-*.log.gz
-*.cfg
+platforms/forge/crash-reports
+platforms/forge/logs
+platforms/forge/mods
+platforms/forge/config
+platforms/forge/options.txt
+platforms/forge/saves
+platforms/forge**/assets
-# Ignore our own config files
-*.ini
# Mac filesystem dust
.DS_Store
@@ -104,7 +104,8 @@ public ForgeWorld(String _name)
int biomeId = defaultBiome.Id;
BiomeGenBase oldBiome = BiomeGenBase.getBiome(biomeId);
biomesToRestore[biomeId] = oldBiome;
- BiomeGenCustom custom = new BiomeGenCustom(nextBiomeId++, oldBiome.biomeName);
+ BiomeGenCustom custom = new BiomeGenCustom(biomeId, oldBiome.biomeName);
+ nextBiomeId++;
custom.CopyBiome(oldBiome);
Biome biome = new Biome(custom);
biomes[biome.getId()] = biome;

0 comments on commit 7cb1e6a

Please sign in to comment.