From c51a65488af5b3ae19ab0c28806697e928206fad Mon Sep 17 00:00:00 2001 From: Leijurv Date: Fri, 24 Aug 2018 14:24:09 -0700 Subject: [PATCH] lol what --- src/main/java/baritone/chunk/CachedWorld.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/baritone/chunk/CachedWorld.java b/src/main/java/baritone/chunk/CachedWorld.java index 7c86db0f..b24857de 100644 --- a/src/main/java/baritone/chunk/CachedWorld.java +++ b/src/main/java/baritone/chunk/CachedWorld.java @@ -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; }