mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-04-09 17:26:07 +00:00
cleanup
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user