Sector preset init fix
This commit is contained in:
@@ -39,8 +39,10 @@ public class SectorPreset extends UnlockableContent{
|
|||||||
/** Internal use only! */
|
/** Internal use only! */
|
||||||
public SectorPreset(String name, LoadedMod mod){
|
public SectorPreset(String name, LoadedMod mod){
|
||||||
super(name);
|
super(name);
|
||||||
this.minfo.mod = mod;
|
if(mod != null){
|
||||||
this.generator = new FileMapGenerator(name, this);
|
this.minfo.mod = mod;
|
||||||
|
}
|
||||||
|
this.generator = new FileMapGenerator(this.name, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Internal use only! */
|
/** Internal use only! */
|
||||||
|
|||||||
Reference in New Issue
Block a user