mirror of
https://github.com/NoCheatPlus/NoCheatPlus.git
synced 2024-11-07 03:02:11 +01:00
Higher default capacity for CoordMap instances in BlockCache.
This commit is contained in:
parent
f882c8bc8c
commit
2fe9f1e668
@ -27,13 +27,13 @@ public abstract class BlockCache {
|
||||
}
|
||||
|
||||
/** Cached type-ids. */
|
||||
private final CoordMap<Integer> idMap = new CoordMap<Integer>();
|
||||
private final CoordMap<Integer> idMap = new CoordMap<Integer>(23);
|
||||
|
||||
/** Cached data values. */
|
||||
private final CoordMap<Integer> dataMap = new CoordMap<Integer>();
|
||||
private final CoordMap<Integer> dataMap = new CoordMap<Integer>(23);
|
||||
|
||||
/** Cached shape values. */
|
||||
private final CoordMap<double[]> boundsMap = new CoordMap<double[]>();
|
||||
private final CoordMap<double[]> boundsMap = new CoordMap<double[]>(23);
|
||||
|
||||
private int maxBlockY = 255;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user