9
0
mirror of https://github.com/VolmitSoftware/Iris.git synced 2025-12-29 03:59:06 +00:00
This commit is contained in:
Daniel Mills
2021-08-10 03:43:24 -04:00
parent 87e1e55da7
commit 97a62752c6
3 changed files with 9 additions and 3 deletions

View File

@@ -174,6 +174,7 @@ public class MantleChunk {
public <T> void iterate(Class<T> type, Consumer4<Integer, Integer, Integer,T> iterator) {
for(int i = 0; i < sections.length(); i++)
{
int bs = (i << 4);
Matter matter = get(i);
if(matter != null)
@@ -182,7 +183,7 @@ public class MantleChunk {
if(t != null)
{
t.iterateSync(iterator);
t.iterateSync((a, b, c, f) -> iterator.accept(a,b + bs, c, f));
}
}
}