9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-26 02:29:14 +00:00

Merge pull request #832 from CocoTheOwner/noWarn

Remove warning on create
This commit is contained in:
Brian Fopiano
2022-07-29 10:04:22 -07:00
committed by GitHub
5 changed files with 7 additions and 3 deletions

View File

@@ -78,8 +78,6 @@ public class CommandIris implements DecreeExecutor {
return;
}
sender().sendMessage(C.RED + "You should not be using this command to create new worlds. Instead, use the tutorial: https://docs.volmit.com/iris/getting-started");
try {
IrisToolbelt.createWorld()
.dimension(type.getLoadKey())

View File

@@ -463,7 +463,9 @@ public enum NoiseStyle {
}
public CNG create(RNG seed) {
return f.create(seed).bake();
CNG cng = f.create(seed).bake();
cng.setLeakStyle(this);
return cng;
}
public IrisGeneratorStyle style() {

View File

@@ -73,6 +73,7 @@ public class CNG {
private double up;
private double down;
private double power;
private NoiseStyle leakStyle;
private ProceduralStream<Double> customGenerator;
public CNG(RNG random) {

View File

@@ -20,6 +20,7 @@ package com.volmit.iris.util.parallel;
import com.volmit.iris.Iris;
import com.volmit.iris.util.collection.KList;
import lombok.Getter;
import lombok.Setter;
import java.util.List;
@@ -31,6 +32,7 @@ import java.util.concurrent.Future;
@SuppressWarnings("ALL")
public class BurstExecutor {
private final ExecutorService executor;
@Getter
private final KList<Future<?>> futures;
@Setter
private boolean multicore = true;