Killaura reverted to latest version WITH fixes

This commit is contained in:
HAV0X1014 2021-10-15 18:41:50 -04:00 committed by GitHub
parent a3e3bd123a
commit 52874e233d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 1 deletions

View File

@ -47,13 +47,14 @@ public final class KillAuraModule extends Module {
private Entity currentTarget = null;
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
public void onDisable() {
super.onDisable();
Seppuku.INSTANCE.getRotationManager().finishTask(this.rotationTask);
this.currentTarget = null;
}
@Listener
@ -156,4 +157,15 @@ public final class KillAuraModule extends Module {
return ret;
}
public RotationTask getRotationTask() {
return rotationTask;
}
public Entity getCurrentTarget() {
return currentTarget;
}
public void setCurrentTarget(Entity currentTarget) {
this.currentTarget = currentTarget;
}
}