Killaura reverted to latest version WITH fixes
This commit is contained in:
parent
a3e3bd123a
commit
52874e233d
|
@ -47,13 +47,14 @@ public final class KillAuraModule extends Module {
|
||||||
private Entity currentTarget = null;
|
private Entity currentTarget = null;
|
||||||
|
|
||||||
public KillAuraModule() {
|
public KillAuraModule() {
|
||||||
super("KillAura", new String[]{"Aura"}, "Automatically aims at and attacks enemies", "NONE", -1, ModuleType.COMBAT);
|
super("KillAura", new String[]{"Aura"}, "Automatically aims and attacks enemies", "NONE", -1, ModuleType.COMBAT);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onDisable() {
|
public void onDisable() {
|
||||||
super.onDisable();
|
super.onDisable();
|
||||||
Seppuku.INSTANCE.getRotationManager().finishTask(this.rotationTask);
|
Seppuku.INSTANCE.getRotationManager().finishTask(this.rotationTask);
|
||||||
|
this.currentTarget = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
@Listener
|
@Listener
|
||||||
|
@ -156,4 +157,15 @@ public final class KillAuraModule extends Module {
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public RotationTask getRotationTask() {
|
||||||
|
return rotationTask;
|
||||||
|
}
|
||||||
|
|
||||||
|
public Entity getCurrentTarget() {
|
||||||
|
return currentTarget;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setCurrentTarget(Entity currentTarget) {
|
||||||
|
this.currentTarget = currentTarget;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue