Merge branch 'master' into power-gen-stats

This commit is contained in:
MEEPofFaith
2024-03-16 14:26:32 -07:00
2 changed files with 14 additions and 4 deletions

View File

@@ -39,8 +39,10 @@ public class SectorPreset extends UnlockableContent{
/** Internal use only! */
public SectorPreset(String name, LoadedMod mod){
super(name);
this.minfo.mod = mod;
this.generator = new FileMapGenerator(name, this);
if(mod != null){
this.minfo.mod = mod;
}
this.generator = new FileMapGenerator(this.name, this);
}
/** Internal use only! */