Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
GirafiStudios committed Dec 26, 2020
1 parent a2328d3 commit 7fb1d6a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
minecraft_version=1.16.4
forge_version=35.1.11
mappings=20201028-1.16.3
mod_version=2.1.7
mod_version=2.1.8
jei_version=7.6.0.58

org.gradle.jvmargs=-Xmx4G
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,9 +135,11 @@ public static void addFishSpawns(BiomeLoadingEvent event) {
if (AquaConfig.BASIC_OPTIONS.debugMode.get() && !hasRunFirstTime) {
Aquaculture.LOG.info(fish.getRegistryName() + " spawn debug = loottable weight: " + FISH_WEIGHT_MAP.get(fish) + " | weight : " + weight + " | maxGroupSize: " + maxGroupSize);
}
for (Biome biome : FISH_BIOME_MAP.get(fish)) {
if (event.getName() != null && event.getName().equals(biome.getRegistryName())) {
event.getSpawns().getSpawner(EntityClassification.WATER_AMBIENT).add(new MobSpawnInfo.Spawners(fish, weight, 1, maxGroupSize));
if (event.getName() != null) {
for (Biome biome : FISH_BIOME_MAP.get(fish)) {
if (event.getName().equals(biome.getRegistryName())) {
event.getSpawns().getSpawner(EntityClassification.WATER_AMBIENT).add(new MobSpawnInfo.Spawners(fish, weight, 1, maxGroupSize));
}
}
}
}
Expand Down

0 comments on commit 7fb1d6a

Please sign in to comment.