From 0d65578e6a0c742d747cfd3173ef86b243ce6df7 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sun, 7 Jan 2024 15:00:53 -0600 Subject: [PATCH 1/2] Fix chunk break/place events not triggering fabric updates post MC 1.17 --- .../distanthorizons/fabric/mixins/server/MixinChunkMap.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/MixinChunkMap.java b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/MixinChunkMap.java index 8544ed05e..617a8aaf0 100644 --- a/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/MixinChunkMap.java +++ b/fabric/src/main/java/com/seibel/distanthorizons/fabric/mixins/server/MixinChunkMap.java @@ -37,7 +37,7 @@ public class MixinChunkMap // MC has a tendency to try saving incomplete or corrupted chunks (which show up as empty or black chunks) // this logic should prevent that from happening - #if MC_1_16_5 || MC_1_17_1 + #if MC_VER == MC_1_16_5 || MC_VER == MC_1_17_1 if (chunk.isUnsaved() || chunk.getUpgradeData() != null || !chunk.isLightCorrect()) { return; From d2ad35ad059e0284c3702f314c437633e9d64e23 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sun, 7 Jan 2024 16:06:09 -0600 Subject: [PATCH 2/2] Overhaul file handlers --- coreSubProjects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/coreSubProjects b/coreSubProjects index 1b8ee5cd4..19aedc14c 160000 --- a/coreSubProjects +++ b/coreSubProjects @@ -1 +1 @@ -Subproject commit 1b8ee5cd48f8abc18bbdfe23fe160d17dc5d6cef +Subproject commit 19aedc14cda316128669f196c197a71331c05a4a