This commit is contained in:
Jesse Boyd 2017-03-08 16:24:08 +11:00
parent 5759cd0589
commit 8618a00083
No known key found for this signature in database
GPG Key ID: 59F1DE6293AF6E1F

View File

@ -125,6 +125,11 @@ public class Sniper {
} }
} }
}, Fawe.isMainThread()); }, Fawe.isMainThread());
String toolId = getToolId(itemInHand);
SniperTool sniperTool = tools.get(toolId);
if (sniperTool.hasToolAssigned(itemInHand) && sniperTool.getCurrentBrush() != null) {
return true;
}
} catch (Throwable e) { } catch (Throwable e) {
e.printStackTrace(); e.printStackTrace();
} }