fix notoolexplode math

This commit is contained in:
Bella 2020-03-26 22:33:27 -04:00
parent a6a72c5d88
commit 08410d5017
No known key found for this signature in database
GPG Key ID: 815562EA23BFE344
1 changed files with 3 additions and 1 deletions

View File

@ -509,7 +509,9 @@ public class CrystalAura extends Module {
}
private boolean passSwordCheck() {
return !(mc.player.getHeldItemMainhand().getItem() instanceof ItemTool) || !noToolExplode.getValue();
if (!noToolExplode.getValue() || antiWeakness.getValue()) return true;
else if (noToolExplode.getValue() && (mc.player.getHeldItemMainhand().getItem() instanceof ItemTool || mc.player.getHeldItemMainhand().getItem() instanceof ItemSword)) return false;
return true;
}
@Override