mirror of
https://github.com/BlueMap-Minecraft/BlueMap.git
synced 2024-11-25 12:05:13 +01:00
Fix MCAWorld not using the Vector-Cache everywhere
This commit is contained in:
parent
9fb57f36a2
commit
6a6e8a64bc
@ -95,7 +95,7 @@ public BlockState getBlockState(Vector3i pos) {
|
||||
|
||||
@Override
|
||||
public MCAChunk getChunkAtBlock(int x, int y, int z) {
|
||||
return getChunk(new Vector2i(x >> 4, z >> 4));
|
||||
return getChunk(x >> 4, z >> 4);
|
||||
}
|
||||
|
||||
@Override
|
||||
@ -191,7 +191,7 @@ public void invalidateChunkCache() {
|
||||
|
||||
@Override
|
||||
public void invalidateChunkCache(int x, int z) {
|
||||
chunkCache.invalidate(new Vector2i(x, z));
|
||||
chunkCache.invalidate(vec2i(x, z));
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user