Fixed missing ancestor call in World Providers & generators constructors
This commit is contained in:
parent
f20d2c20ac
commit
b69d3ed1c6
6 changed files with 14 additions and 0 deletions
|
@ -23,6 +23,10 @@ public abstract class AbstractWorldProvider extends WorldProvider {
|
|||
protected CelestialObject celestialObjectDimension = null;
|
||||
protected boolean isRemote;
|
||||
|
||||
AbstractWorldProvider() {
|
||||
super();
|
||||
}
|
||||
|
||||
protected void updateCelestialObject() throws RuntimeException {
|
||||
if (getDimension() == 0) {
|
||||
throw new RuntimeException("Critical error: you can't use a WorldProvider before settings its dimension id!");
|
||||
|
|
|
@ -18,6 +18,8 @@ import javax.annotation.Nonnull;
|
|||
public class HyperSpaceWorldProvider extends AbstractWorldProvider {
|
||||
|
||||
public HyperSpaceWorldProvider() {
|
||||
super();
|
||||
|
||||
biomeProvider = new BiomeProviderSingle(WarpDrive.biomeSpace);
|
||||
nether = true;
|
||||
}
|
||||
|
|
|
@ -18,6 +18,8 @@ import net.minecraftforge.fml.relauncher.SideOnly;
|
|||
public class SpaceWorldProvider extends AbstractWorldProvider {
|
||||
|
||||
public SpaceWorldProvider() {
|
||||
super();
|
||||
|
||||
biomeProvider = new BiomeProviderSingle(WarpDrive.biomeSpace);
|
||||
nether = false;
|
||||
}
|
||||
|
|
|
@ -24,6 +24,8 @@ public class WorldGenSmallShip extends WorldGenerator {
|
|||
private final boolean isCreative;
|
||||
|
||||
public WorldGenSmallShip(final boolean isCorrupted, final boolean isCreative) {
|
||||
super();
|
||||
|
||||
this.isCorrupted = isCorrupted;
|
||||
this.isCreative = isCreative;
|
||||
}
|
||||
|
|
|
@ -12,6 +12,8 @@ public class WorldGenStation extends WorldGenerator {
|
|||
private final boolean corrupted;
|
||||
|
||||
public WorldGenStation(final boolean corrupted) {
|
||||
super();
|
||||
|
||||
this.corrupted = corrupted;
|
||||
}
|
||||
|
||||
|
|
|
@ -33,6 +33,8 @@ public class WorldGenStructure {
|
|||
private final Filler fillerPropulsion;
|
||||
|
||||
public WorldGenStructure(final boolean corrupted, final Random rand) {
|
||||
super();
|
||||
|
||||
this.corrupted = corrupted;
|
||||
this.rand = rand;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue