mirror of
https://github.com/Winds-Studio/Leaf.git
synced 2025-12-23 17:09:29 +00:00
fix incorrect nature spawnable chunk count compute
This commit is contained in:
@@ -27,8 +27,8 @@ public class NatureSpawnChunkMap {
|
|||||||
};
|
};
|
||||||
private static final int MAX_RADIUS = 8;
|
private static final int MAX_RADIUS = 8;
|
||||||
private static final int SIZE_RADIUS = 9;
|
private static final int SIZE_RADIUS = 9;
|
||||||
private static final int REGION_MASK = 15;
|
private static final int REGION_MASK = 7;
|
||||||
private static final int REGION_SHIFT = 4;
|
private static final int REGION_SHIFT = 3;
|
||||||
|
|
||||||
private final LongArrayList[] centersByRadius;
|
private final LongArrayList[] centersByRadius;
|
||||||
private final Long2LongOpenHashMap regionBitSets;
|
private final Long2LongOpenHashMap regionBitSets;
|
||||||
|
|||||||
Reference in New Issue
Block a user