mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-09 01:06:05 +00:00
Parallax fixes
This commit is contained in:
@@ -121,7 +121,7 @@ public class ParallaxRegion extends HunkRegion {
|
||||
|
||||
if ((t instanceof ByteArrayTag)) {
|
||||
try {
|
||||
meta = metaAdapter.read((x, y, z) -> Hunk.newArrayHunk(32, 1, 32), (ByteArrayTag) t);
|
||||
meta = metaAdapter.read((x, y, z) -> Hunk.newAtomicHunk(32, 1, 32), (ByteArrayTag) t);
|
||||
} catch (IOException e) {
|
||||
Iris.reportError(e);
|
||||
e.printStackTrace();
|
||||
@@ -129,7 +129,7 @@ public class ParallaxRegion extends HunkRegion {
|
||||
}
|
||||
|
||||
if (meta == null) {
|
||||
meta = Hunk.newArrayHunk(32, 1, 32);
|
||||
meta = Hunk.newAtomicHunk(32, 1, 32);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user