test chunk array perf
This commit is contained in:
parent
20abca12f2
commit
e2ec9f0c84
2 changed files with 9 additions and 2 deletions
|
@ -1,5 +1,7 @@
|
|||
package client.world;
|
||||
|
||||
import java.util.Arrays;
|
||||
|
||||
import common.biome.Biome;
|
||||
import common.block.Block;
|
||||
import common.init.Blocks;
|
||||
|
@ -16,6 +18,7 @@ public class ChunkClient extends Chunk {
|
|||
}
|
||||
|
||||
private void clearArrays() {
|
||||
Arrays.fill(this.core, null);
|
||||
this.blocks.clearMap();
|
||||
this.blockList.clear();
|
||||
this.bottom = Integer.MAX_VALUE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue