CrystalAura: Attack when empty option
This commit is contained in:
parent
702b4ae436
commit
d29d49abeb
|
@ -131,13 +131,6 @@ public final class CrystalAuraModule extends Module {
|
|||
}
|
||||
}
|
||||
|
||||
if (!InventoryUtil.hasItem(Items.END_CRYSTAL)) {
|
||||
this.currentPlacePosition = null;
|
||||
if (!this.attackWhenEmpty.getValue()) {
|
||||
this.currentAttackEntity = null;
|
||||
}
|
||||
}
|
||||
|
||||
//this.currentPlacePosition = null;
|
||||
//this.currentAttackEntity = null;
|
||||
|
||||
|
@ -225,6 +218,11 @@ public final class CrystalAuraModule extends Module {
|
|||
}
|
||||
}
|
||||
}
|
||||
} else {
|
||||
this.currentPlacePosition = null;
|
||||
if (!this.attackWhenEmpty.getValue()) {
|
||||
this.currentAttackEntity = null;
|
||||
}
|
||||
}
|
||||
break;
|
||||
case POST:
|
||||
|
|
Loading…
Reference in New Issue