mirror of
https://github.com/PolyhedralDev/Terra.git
synced 2026-06-17 22:31:52 +00:00
cleanup
This commit is contained in:
+2
-3
@@ -34,6 +34,7 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||||||
package com.dfsek.terra.addons.noise.util;
|
package com.dfsek.terra.addons.noise.util;
|
||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
import java.util.Arrays;
|
||||||
import java.util.NoSuchElementException;
|
import java.util.NoSuchElementException;
|
||||||
|
|
||||||
|
|
||||||
@@ -144,9 +145,7 @@ public class HashMapDoubleDouble extends HashIntrinsic {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void clear() {
|
public void clear() {
|
||||||
for(int i = 0; i < this.table.length; ++i) {
|
Arrays.fill(this.table, null);
|
||||||
this.table[i] = null;
|
|
||||||
}
|
|
||||||
|
|
||||||
this.size = 0;
|
this.size = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
+1
-1
@@ -22,7 +22,7 @@ import com.dfsek.terra.fabric.block.FabricBlockState;
|
|||||||
public abstract class WorldChunkMixin {
|
public abstract class WorldChunkMixin {
|
||||||
@Final
|
@Final
|
||||||
@Shadow
|
@Shadow
|
||||||
private net.minecraft.world.World world;
|
net.minecraft.world.World world;
|
||||||
|
|
||||||
@Shadow
|
@Shadow
|
||||||
public abstract net.minecraft.block.BlockState getBlockState(BlockPos pos);
|
public abstract net.minecraft.block.BlockState getBlockState(BlockPos pos);
|
||||||
|
|||||||
Reference in New Issue
Block a user