From c55880bcb9b3c60aa1a95cb86c108669ff8a66a2 Mon Sep 17 00:00:00 2001 From: James Seibel Date: Sat, 16 Mar 2024 22:43:22 -0500 Subject: [PATCH] Fix empty data sources not updating and being regenerated --- .../dataObjects/fullData/sources/FullDataSourceV2.java | 8 -------- 1 file changed, 8 deletions(-) diff --git a/core/src/main/java/com/seibel/distanthorizons/core/dataObjects/fullData/sources/FullDataSourceV2.java b/core/src/main/java/com/seibel/distanthorizons/core/dataObjects/fullData/sources/FullDataSourceV2.java index 7e21978bf..0f330d659 100644 --- a/core/src/main/java/com/seibel/distanthorizons/core/dataObjects/fullData/sources/FullDataSourceV2.java +++ b/core/src/main/java/com/seibel/distanthorizons/core/dataObjects/fullData/sources/FullDataSourceV2.java @@ -254,14 +254,6 @@ public class FullDataSourceV2 implements IDataSource public boolean update(FullDataSourceV2 inputDataSource, @Nullable IDhLevel level) { return this.update(inputDataSource); } public boolean update(FullDataSourceV2 inputDataSource) { - if (inputDataSource.mapping.getMaxValidId() == 0) - { - // can happen in the end or where empty chunks exist - return false; - } - - - byte thisDetailLevel = this.pos.getDetailLevel(); byte inputDetailLevel = inputDataSource.pos.getDetailLevel();