diff --git a/cleanroom/src/main/java/com/seibel/distanthorizons/cleanroom/CleanroomServerProxy.java b/cleanroom/src/main/java/com/seibel/distanthorizons/cleanroom/CleanroomServerProxy.java index 2d88eaebe..0fc98c658 100644 --- a/cleanroom/src/main/java/com/seibel/distanthorizons/cleanroom/CleanroomServerProxy.java +++ b/cleanroom/src/main/java/com/seibel/distanthorizons/cleanroom/CleanroomServerProxy.java @@ -126,7 +126,7 @@ public class CleanroomServerProxy implements AbstractModInitializer.IEventProxy @SubscribeEvent public void serverChunkSaveEvent(ChunkDataEvent.Save event) { - if (event.getWorld() instanceof WorldServer worldServer) + if (event.getWorld() instanceof WorldServer worldServer && event.getChunk().dirty) { MixinChunkMapCommon.onChunkSave(worldServer, event.getChunk()); } diff --git a/common/src/main/resources/1_12_2.distanthorizons_at.cfg b/common/src/main/resources/1_12_2.distanthorizons_at.cfg index 21faed46d..69f101178 100644 --- a/common/src/main/resources/1_12_2.distanthorizons_at.cfg +++ b/common/src/main/resources/1_12_2.distanthorizons_at.cfg @@ -2,4 +2,5 @@ public net.minecraft.client.renderer.EntityRenderer getFOVModifier(FZ)F public net.minecraft.client.renderer.ActiveRenderInfo MODELVIEW public net.minecraft.client.renderer.ActiveRenderInfo PROJECTION public net.minecraft.client.gui.GuiSlot amountScrolled -public net.minecraft.world.gen.ChunkProviderServer droppedChunks \ No newline at end of file +public net.minecraft.world.gen.ChunkProviderServer droppedChunks +public net.minecraft.world.chunk.Chunk dirty \ No newline at end of file