lol what
This commit is contained in:
parent
cbec60472b
commit
c51a65488a
@ -110,7 +110,7 @@ public final class CachedWorld implements IBlockTypeAccess {
|
|||||||
while (searchRadius <= maxRegionDistanceSq) {
|
while (searchRadius <= maxRegionDistanceSq) {
|
||||||
for (int xoff = -searchRadius; xoff <= searchRadius; xoff++) {
|
for (int xoff = -searchRadius; xoff <= searchRadius; xoff++) {
|
||||||
for (int zoff = -searchRadius; zoff <= searchRadius; zoff++) {
|
for (int zoff = -searchRadius; zoff <= searchRadius; zoff++) {
|
||||||
double distance = xoff * xoff + zoff * zoff;
|
int distance = xoff * xoff + zoff * zoff;
|
||||||
if (distance != searchRadius) {
|
if (distance != searchRadius) {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user