mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2026-02-18 09:43:00 +01:00
Compare commits
1 Commits
master
...
dev-capfan
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
8f1801bc4d |
@@ -293,8 +293,8 @@ public class HashChunkManager implements ChunkManager {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cx = x / 16;
|
int cx = x >> 4;
|
||||||
int cz = z / 16;
|
int cz = z >> 4;
|
||||||
String key = world.getName() + "," + cx + "," + cz;
|
String key = world.getName() + "," + cx + "," + cz;
|
||||||
|
|
||||||
if (!store.containsKey(key)) {
|
if (!store.containsKey(key)) {
|
||||||
@@ -336,8 +336,8 @@ public class HashChunkManager implements ChunkManager {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cx = x / 16;
|
int cx = x >> 4;
|
||||||
int cz = z / 16;
|
int cz = z >> 4;
|
||||||
|
|
||||||
int ix = Math.abs(x) % 16;
|
int ix = Math.abs(x) % 16;
|
||||||
int iz = Math.abs(z) % 16;
|
int iz = Math.abs(z) % 16;
|
||||||
@@ -382,8 +382,8 @@ public class HashChunkManager implements ChunkManager {
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
int cx = x / 16;
|
int cx = x >> 4;
|
||||||
int cz = z / 16;
|
int cz = z >> 4;
|
||||||
|
|
||||||
int ix = Math.abs(x) % 16;
|
int ix = Math.abs(x) % 16;
|
||||||
int iz = Math.abs(z) % 16;
|
int iz = Math.abs(z) % 16;
|
||||||
|
|||||||
Reference in New Issue
Block a user