From 67681697926cf32a28e91599b7bf47378983f2aa Mon Sep 17 00:00:00 2001
From: Philip Hansen <me@philiphansen.dk>
Date: Tue, 24 Jun 2014 02:05:08 +0200
Subject: [PATCH] Resolved drill getting stuck when trying to drill air

---
 .../vswe/stevescarts/Modules/Workers/Tools/ModuleDrill.java | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/main/java/vswe/stevescarts/Modules/Workers/Tools/ModuleDrill.java b/src/main/java/vswe/stevescarts/Modules/Workers/Tools/ModuleDrill.java
index 769c8e6a..dba62272 100644
--- a/src/main/java/vswe/stevescarts/Modules/Workers/Tools/ModuleDrill.java
+++ b/src/main/java/vswe/stevescarts/Modules/Workers/Tools/ModuleDrill.java
@@ -77,7 +77,7 @@ public boolean work() {
 		if (isBroken()) {
 			return false;
 		}
-	
+
         //get the next block so the cart knows where to mine
         Vec3 next = getNextblock();
         //save the coordinates for easy access
@@ -413,6 +413,10 @@ public Object isValidBlock(int x, int y, int z, int i, int j, boolean flag)
                 return null;
                 //don't remove bedrock
             }
+            else if (b == Blocks.air)
+            {
+	            return null;
+            }
             else if (b == Blocks.bedrock)
             {
                 return null;