mirror of
https://github.com/VolmitSoftware/Iris.git
synced 2026-04-05 23:36:12 +00:00
Clean up
This commit is contained in:
@@ -255,8 +255,7 @@ public class Chunk {
|
||||
public CompoundTag getBlockStateAt(int blockX, int blockY, int blockZ) {
|
||||
int s = MCAUtil.blockToChunk(blockY);
|
||||
|
||||
if(sections.length() <= s)
|
||||
{
|
||||
if (sections.length() <= s) {
|
||||
return null;
|
||||
}
|
||||
|
||||
@@ -282,8 +281,7 @@ public class Chunk {
|
||||
public void setBlockStateAt(int blockX, int blockY, int blockZ, CompoundTag state, boolean cleanup) {
|
||||
int sectionIndex = MCAUtil.blockToChunk(blockY);
|
||||
|
||||
if(sections.length() <= sectionIndex)
|
||||
{
|
||||
if (sections.length() <= sectionIndex) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@@ -18,7 +18,6 @@
|
||||
|
||||
package com.volmit.iris.util.nbt.mca;
|
||||
|
||||
import com.volmit.iris.core.pregenerator.syndicate.SyndicateServer;
|
||||
import com.volmit.iris.util.collection.KList;
|
||||
import com.volmit.iris.util.math.Position2;
|
||||
import com.volmit.iris.util.nbt.tag.CompoundTag;
|
||||
|
||||
@@ -79,8 +79,7 @@ public class MCALinearPalette<T> implements MCAPalette<T> {
|
||||
}
|
||||
|
||||
public void read(ListTag var0) {
|
||||
for (int var1 = 0; var1 < var0.size(); var1++)
|
||||
{
|
||||
for (int var1 = 0; var1 < var0.size(); var1++) {
|
||||
this.values[var1] = this.reader.apply((CompoundTag) var0.get(var1));
|
||||
}
|
||||
this.size = var0.size();
|
||||
|
||||
Reference in New Issue
Block a user