diff --git a/MinecraftClient/Commands/Dig.cs b/MinecraftClient/Commands/Dig.cs index d3dfc7f4..80b4d04a 100644 --- a/MinecraftClient/Commands/Dig.cs +++ b/MinecraftClient/Commands/Dig.cs @@ -27,7 +27,7 @@ namespace MinecraftClient.Commands int y = int.Parse(args[1]); int z = int.Parse(args[2]); Location blockToBreak = new Location(x, y, z); - if (blockToBreak.DistanceSquared(handler.GetCurrentLocation()) >= 16) + if (blockToBreak.DistanceSquared(handler.GetCurrentLocation()) > 25) return "You are too far away from this block."; if (handler.GetWorld().GetBlock(blockToBreak).Type == Material.Air) return "No block at this location (Air)";