From 84028f78b867211f3b4d2fdc8320ffb2cf570883 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Wed, 13 Sep 2023 18:30:22 -0500 Subject: [PATCH] Hopefully fix Structure load locking up the world gen threads (again) --- .../wrappers/worldGeneration/step/StepStructureStart.java | 4 ++-- coreSubProjects | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepStructureStart.java b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepStructureStart.java index 0cf652f66..2ec69d840 100644 --- a/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepStructureStart.java +++ b/common/src/main/java/com/seibel/distanthorizons/common/wrappers/worldGeneration/step/StepStructureStart.java @@ -110,8 +110,6 @@ public final class StepStructureStart tParams.structFeat, chunk, environment.params.structures); #endif - structurePlacementLock.unlock(); - #if POST_MC_1_18_2 try { @@ -139,6 +137,8 @@ public final class StepStructureStart //throw new StepStructureStart.StructStartCorruptedException(secondEx); } } + + structurePlacementLock.unlock(); #endif } } diff --git a/coreSubProjects b/coreSubProjects index 03f50b168..a5178cece 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit 03f50b168def9f16da5678e62bda3a2a80d437ab +Subproject commit a5178ceceac5c9ee426558721a6cc023f5e9b604