Fixes #459
This commit is contained in:
parent
5759cd0589
commit
8618a00083
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user