mirror of
https://github.com/boy0001/FastAsyncWorldedit.git
synced 2024-11-28 13:45:36 +01:00
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