mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2025-12-30 04:29:05 +00:00
Auto stash before merge of "master" and "origin/master"
This commit is contained in:
@@ -208,7 +208,7 @@ public class IrisBiome extends IrisRegistrant implements IRare
|
||||
|
||||
public double getGenLinkMax(String loadKey)
|
||||
{
|
||||
return genCacheMax.aquire(() ->
|
||||
Integer v = genCacheMax.aquire(() ->
|
||||
{
|
||||
KMap<String, Integer> l = new KMap<>();
|
||||
|
||||
@@ -218,12 +218,14 @@ public class IrisBiome extends IrisRegistrant implements IRare
|
||||
}
|
||||
|
||||
return l;
|
||||
}).compute(loadKey, (k, v) -> v != null ? v : 0);
|
||||
}).get(loadKey);
|
||||
|
||||
return v == null ? 0 : v;
|
||||
}
|
||||
|
||||
public double getGenLinkMin(String loadKey)
|
||||
{
|
||||
return genCacheMin.aquire(() ->
|
||||
Integer v = genCacheMin.aquire(() ->
|
||||
{
|
||||
KMap<String, Integer> l = new KMap<>();
|
||||
|
||||
@@ -233,7 +235,9 @@ public class IrisBiome extends IrisRegistrant implements IRare
|
||||
}
|
||||
|
||||
return l;
|
||||
}).compute(loadKey, (k, v) -> v != null ? v : 0);
|
||||
}).get(loadKey);
|
||||
|
||||
return v == null ? 0 : v;
|
||||
}
|
||||
|
||||
public IrisBiomeGeneratorLink getGenLink(String loadKey)
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
package com.volmit.iris.object;
|
||||
|
||||
import com.volmit.iris.gen.v2.scaffold.layer.ProceduralStream;
|
||||
import com.volmit.iris.gen.v2.scaffold.stream.ProceduralStream;
|
||||
import com.volmit.iris.noise.CNG;
|
||||
import com.volmit.iris.noise.CNGFactory;
|
||||
import com.volmit.iris.noise.NoiseType;
|
||||
|
||||
Reference in New Issue
Block a user