Skip to content

Commit

Permalink
Hopefully fix #417 with rabbits, untested
Browse files Browse the repository at this point in the history
  • Loading branch information
Roadhog360 committed Feb 12, 2024
1 parent ba6f8c0 commit 0a5aa10
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -109,6 +109,11 @@ public void registerEntities() {
BiomeGenBase[] array = BiomeDictionary.getBiomesForType(Type.SNOWY);
array = ArrayUtils.addAll(array, BiomeDictionary.getBiomesForType(Type.PLAINS));
array = ArrayUtils.addAll(array, BiomeDictionary.getBiomesForType(Type.FOREST));
for (BiomeGenBase biome : ArrayUtils.clone(array)) {
if (biome.getClass().getName().toLowerCase().contains("divinerpg")) {
ArrayUtils.removeElement(array, biome);
}
}
EntityRegistry.addSpawn(EntityRabbit.class, 10, 3, 3, EnumCreatureType.creature, array);
}

Expand Down

0 comments on commit 0a5aa10

Please sign in to comment.