From eccd7c29e55f80ff44f64406ee69fe4b74f5a7f1 Mon Sep 17 00:00:00 2001 From: connor135246 <66351014+connor135246@users.noreply.github.com> Date: Fri, 19 May 2023 23:57:48 -0400 Subject: [PATCH] random crash hotfix #11 --- build.gradle | 2 +- .../common/world/gen/feature/HotSpringsFeature.java | 2 +- .../simplyhotsprings/util/SimplyHotSpringsConfig.java | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.gradle b/build.gradle index 4ba0438..6d0e873 100644 --- a/build.gradle +++ b/build.gradle @@ -17,7 +17,7 @@ apply plugin: 'maven-publish' // MixinGradle: apply plugin: 'org.spongepowered.mixin' -version = '1.18.1-0.2.5' +version = '1.18.1-0.2.6' group = 'connor135246.simplyhotsprings' // http://maven.apache.org/guides/mini/guide-naming-conventions.html archivesBaseName = 'simplyhotsprings' diff --git a/src/main/java/connor135246/simplyhotsprings/common/world/gen/feature/HotSpringsFeature.java b/src/main/java/connor135246/simplyhotsprings/common/world/gen/feature/HotSpringsFeature.java index 7e256b1..e639958 100644 --- a/src/main/java/connor135246/simplyhotsprings/common/world/gen/feature/HotSpringsFeature.java +++ b/src/main/java/connor135246/simplyhotsprings/common/world/gen/feature/HotSpringsFeature.java @@ -211,7 +211,7 @@ public static void updateBiomeGrasses(Object2ObjectOpenHashMap, BlockState> entry : newBiomeGrasses.entrySet()) biomeGrasses.put(entry.getKey(), entry.getValue()); - biomeGrasses.trim(); + //biomeGrasses.trim(); } public static boolean canReplaceBlock(BlockState state) diff --git a/src/main/java/connor135246/simplyhotsprings/util/SimplyHotSpringsConfig.java b/src/main/java/connor135246/simplyhotsprings/util/SimplyHotSpringsConfig.java index d36fcbd..ea54f38 100644 --- a/src/main/java/connor135246/simplyhotsprings/util/SimplyHotSpringsConfig.java +++ b/src/main/java/connor135246/simplyhotsprings/util/SimplyHotSpringsConfig.java @@ -392,7 +392,7 @@ private static void fillBiomeGrasses() } } - biomeGrasses.trim(); + //biomeGrasses.trim(); } // @@ -498,7 +498,7 @@ public static void finalizeSpringsGeneration(ServerAboutToStartEvent event) } }); - biomeReasons.trim(); + //biomeReasons.trim(); ConfigChanceFilter.updateChance(COMMON.chance.get()); HotSpringsFeature.updateBiomeGrasses(biomeGrasses); }