CrystalAura: Attack when empty option

This commit is contained in:
noil 2021-11-02 20:45:04 -04:00
parent 702b4ae436
commit d29d49abeb
1 changed files with 5 additions and 7 deletions

View File

@ -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: