Skip to content

Commit

Permalink
Version bump
Browse files Browse the repository at this point in the history
Plus minor cleanup & fix
  • Loading branch information
GirafiStudios committed Sep 22, 2020
1 parent 6beafb8 commit 48ed548
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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.3
forge_version=34.0.9
mappings=20200916-1.16.2
mod_version=2.0.20
mod_version=2.1.0
jei_version=7.3.2.25

org.gradle.jvmargs=-Xmx4G
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ private static LootEntry getInjectEntry(ResourceLocation location, int weight, i
return TableLootEntry.builder(location).weight(weight).quality(quality).build();
}

private static void addEntry(LootPool pool, LootEntry entry) { //TODO Move to Global Loot Modifier
private static void addEntry(LootPool pool, LootEntry entry) {
try {
List<LootEntry> lootEntries = (List<LootEntry>) ObfuscationReflectionHelper.findField(LootPool.class, "field_186453_a").get(pool);
if (lootEntries.stream().anyMatch(e -> e == entry)) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public static void addFishSpawns(BiomeLoadingEvent event) {
int weight = FISH_WEIGHT_MAP.get(fish) / 3;
int maxGroupSize = MathHelper.clamp((FISH_WEIGHT_MAP.get(fish) / 10), 1, 8);
if (weight < 1) weight = 1;
if (AquaConfig.BASIC_OPTIONS.debugMode.get()) {
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)) {
Expand Down

0 comments on commit 48ed548

Please sign in to comment.