This commit is contained in:
dfsek
2021-09-26 13:24:42 -07:00
parent 4945a3bbfa
commit 89d53d0ea3
2 changed files with 3 additions and 4 deletions

View File

@@ -34,6 +34,7 @@ POSSIBILITY OF SUCH DAMAGE.
package com.dfsek.terra.addons.noise.util;
import java.io.Serializable;
import java.util.Arrays;
import java.util.NoSuchElementException;
@@ -144,9 +145,7 @@ public class HashMapDoubleDouble extends HashIntrinsic {
}
public void clear() {
for(int i = 0; i < this.table.length; ++i) {
this.table[i] = null;
}
Arrays.fill(this.table, null);
this.size = 0;
}

View File

@@ -22,7 +22,7 @@ import com.dfsek.terra.fabric.block.FabricBlockState;
public abstract class WorldChunkMixin {
@Final
@Shadow
private net.minecraft.world.World world;
net.minecraft.world.World world;
@Shadow
public abstract net.minecraft.block.BlockState getBlockState(BlockPos pos);