Fixed #11254
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user