This commit is contained in:
Leijurv 2018-08-24 14:24:09 -07:00
parent cbec60472b
commit c51a65488a
No known key found for this signature in database
GPG Key ID: 44A3EA646EADAC6A
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ public final class CachedWorld implements IBlockTypeAccess {
while (searchRadius <= maxRegionDistanceSq) {
for (int xoff = -searchRadius; xoff <= searchRadius; xoff++) {
for (int zoff = -searchRadius; zoff <= searchRadius; zoff++) {
double distance = xoff * xoff + zoff * zoff;
int distance = xoff * xoff + zoff * zoff;
if (distance != searchRadius) {
continue;
}