package me.eddiep.minecraft.ls.game.options;

import me.eddiep.minecraft.ls.game.LavaMap;

public class FusionOptions extends FloodOptions {
    private int minRiseTimeSeconds = 15, maxRiseTimeSeconds = 30, layerCount = 1;//alternate every other layer

    public static FusionOptions defaults(LavaMap owner, RiseOptions options) {
        FusionOptions foptions = new FusionOptions(owner);
        foptions.minRiseTimeSeconds = options.minRiseTimeSeconds;
        foptions.maxRiseTimeSeconds = options.maxRiseTimeSeconds;
        foptions.layerCount = options.layerCount;
        return foptions;
    }

    FusionOptions(LavaMap owner) { super(owner); }

    public long generateRandomFusionTime() {
        int seconds = RANDOM.nextInt(this.maxRiseTimeSeconds - this.minRiseTimeSeconds) + this.minRiseTimeSeconds;
        return seconds * 1000L;
    }

    public int getLayerCount() {
        return this.layerCount;
    }

    @Override
    public boolean isEnabled() {
        return super.isEnabled() && super.getSpawnPoints().size() > 1;
    }
}
@@ -987,62 +987,13 @@
 urn 
-super.isEnabled() && super.getSpawnPoints().size() %3E 1
+false
 ;%0A  

Disable fusion, forever