Option for any distance

This commit is contained in:
T00thpick1 2013-05-16 19:53:58 -04:00
parent 79aab57abc
commit 068f47b523

View File

@ -95,7 +95,7 @@ public final class Misc {
return false;
}
return first.distanceSquared(second) < (maxDistance * maxDistance);
return first.distanceSquared(second) < (maxDistance * maxDistance) || maxDistance == 0;
}
public static void dropItems(Location location, Collection<ItemStack> drops) {