Fix #480 Increase hive spawn rate 25%, add config option for spawn rate

This commit is contained in:
mezz committed 2015-01-29 00:09:06 -08:00
1 parent 636201ce5a
commit 56dfae034d
2 files changed
+10 -1

No files matched your search

@@ -73,7 +73,7 @@ public class HiveDecorator {
}
public boolean genHive(World world, Random rand, int chunkX, int chunkZ, Hive hive) {
if (hive.genChance() < rand.nextFloat() * 128.0f) {
if (hive.genChance() * Config.getBeehivesRate() < rand.nextFloat() * 100.0f) {
return false;
}