This commit is contained in:
Anuken
2025-09-29 12:48:26 -04:00
parent acaed63c52
commit 58909a06a5

View File

@@ -108,7 +108,7 @@ public class SectorInfo{
/** @return whether the sector was last saved with the same preset. if false, this means the preset changed, and thus the spawn/plan data should be discarded. */
public boolean sectorDataMatches(Sector sector){
if(sector.preset != null && (sector.preset.generator.map.width != lastWidth || sector.preset.generator.map.width != lastHeight)){
if(sector.preset != null && (sector.preset.generator.map.width != lastWidth || sector.preset.generator.map.height != lastHeight)){
return false;
}
return Structs.eq(sector.preset == null ? null : sector.preset.name, lastPresetName);