mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-16 13:25:09 +00:00
Fix console spam 1.17+
This commit is contained in:
@@ -5,7 +5,7 @@ plugins {
|
||||
}
|
||||
|
||||
group 'com.volmit.iris'
|
||||
version '1.4.1'
|
||||
version '1.4.2'
|
||||
def apiVersion = '1.17'
|
||||
def name = 'Iris'
|
||||
def main = 'com.volmit.iris.Iris'
|
||||
|
||||
@@ -40,10 +40,6 @@ public class CachedStream2D<T> extends BasicStream<T> implements ProceduralStrea
|
||||
@Override
|
||||
public T get(double x, double z)
|
||||
{
|
||||
if(cl.flip())
|
||||
{
|
||||
Iris.info("Cache: " + Form.f(cache.size()) + " / " + Form.f(cache.weightedSize()));
|
||||
}
|
||||
long ck = Cache.key((int) x, (int) z);
|
||||
return cache.compute(ck, (k, v) -> v != null ? v : stream.get(Cache.keyX(ck), Cache.keyZ(ck)));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user