CrystalAura: b1g update hot fixes (hopefully final)
This commit is contained in:
parent
c3c33d3ded
commit
3c8bac72ac
|
@ -111,16 +111,22 @@ public final class CrystalAuraModule extends Module {
|
||||||
switch (event.getStage()) {
|
switch (event.getStage()) {
|
||||||
case PRE:
|
case PRE:
|
||||||
// place position reset
|
// place position reset
|
||||||
|
if (currentPlacePosition != null) {
|
||||||
if (mc.player.getDistance(this.currentPlacePosition.getX(), this.currentPlacePosition.getY(), this.currentPlacePosition.getZ()) > this.placeRadius.getValue())
|
if (mc.player.getDistance(this.currentPlacePosition.getX(), this.currentPlacePosition.getY(), this.currentPlacePosition.getZ()) > this.placeRadius.getValue())
|
||||||
this.currentPlacePosition = null;
|
this.currentPlacePosition = null;
|
||||||
|
}
|
||||||
|
|
||||||
// crystal reset
|
// crystal reset
|
||||||
|
if (currentAttackEntity != null) {
|
||||||
if ((mc.player.getDistance(this.currentAttackEntity) > this.attackRadius.getValue()) || !this.currentAttackEntity.isEntityAlive())
|
if ((mc.player.getDistance(this.currentAttackEntity) > this.attackRadius.getValue()) || !this.currentAttackEntity.isEntityAlive())
|
||||||
this.currentAttackEntity = null;
|
this.currentAttackEntity = null;
|
||||||
|
}
|
||||||
|
|
||||||
// target reset
|
// target reset
|
||||||
|
if (currentAttackPlayer != null) {
|
||||||
if ((mc.player.getDistance(this.currentAttackPlayer) > this.attackMaxDistance.getValue()) || !this.currentAttackPlayer.isEntityAlive())
|
if ((mc.player.getDistance(this.currentAttackPlayer) > this.attackMaxDistance.getValue()) || !this.currentAttackPlayer.isEntityAlive())
|
||||||
this.currentAttackPlayer = null;
|
this.currentAttackPlayer = null;
|
||||||
|
}
|
||||||
|
|
||||||
//this.currentPlacePosition = null;
|
//this.currentPlacePosition = null;
|
||||||
//this.currentAttackEntity = null;
|
//this.currentAttackEntity = null;
|
||||||
|
|
Loading…
Reference in New Issue