0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-19 17:02:13 +02:00

Fix inconsistent visibility of onEnable() / onDisable() methods

This commit is contained in:
Alexander01998 2024-04-04 16:42:56 +02:00
parent 0bf887330c
commit 858fd34344
103 changed files with 199 additions and 199 deletions

View File

@ -31,13 +31,13 @@ public final class AirPlaceHack extends Hack implements RightClickListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(RightClickListener.class, this); EVENTS.add(RightClickListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(RightClickListener.class, this); EVENTS.remove(RightClickListener.class, this);
} }

View File

@ -91,13 +91,13 @@ public final class AnchorAuraHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -54,7 +54,7 @@ public final class AntiAfkHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
start = BlockPos.ofFloored(MC.player.getPos()); start = BlockPos.ofFloored(MC.player.getPos());
nextBlock = null; nextBlock = null;
@ -68,7 +68,7 @@ public final class AntiAfkHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(RenderListener.class, this); EVENTS.remove(RenderListener.class, this);

View File

@ -24,13 +24,13 @@ public final class AntiHungerHack extends Hack implements PacketOutputListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(PacketOutputListener.class, this); EVENTS.add(PacketOutputListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(PacketOutputListener.class, this); EVENTS.remove(PacketOutputListener.class, this);
} }

View File

@ -32,13 +32,13 @@ public final class AntiSpamHack extends Hack implements ChatInputListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(ChatInputListener.class, this); EVENTS.add(ChatInputListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(ChatInputListener.class, this); EVENTS.remove(ChatInputListener.class, this);
} }

View File

@ -63,7 +63,7 @@ public final class AutoArmorHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
timer = 0; timer = 0;
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
@ -71,7 +71,7 @@ public final class AutoArmorHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(PacketOutputListener.class, this); EVENTS.remove(PacketOutputListener.class, this);

View File

@ -117,7 +117,7 @@ public final class AutoBuildHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
EVENTS.add(RightClickListener.class, this); EVENTS.add(RightClickListener.class, this);
@ -125,7 +125,7 @@ public final class AutoBuildHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(RightClickListener.class, this); EVENTS.remove(RightClickListener.class, this);

View File

@ -75,7 +75,7 @@ public final class AutoCompleteHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(ChatOutputListener.class, this); EVENTS.remove(ChatOutputListener.class, this);
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);

View File

@ -49,13 +49,13 @@ public final class AutoDropHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -108,13 +108,13 @@ public final class AutoEatHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);

View File

@ -79,7 +79,7 @@ public final class AutoFarmHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
plants.clear(); plants.clear();
@ -88,7 +88,7 @@ public final class AutoFarmHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(RenderListener.class, this); EVENTS.remove(RenderListener.class, this);

View File

@ -89,7 +89,7 @@ public final class AutoFishHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
castRodTimer = 0; castRodTimer = 0;
reelInTimer = 0; reelInTimer = 0;
@ -108,7 +108,7 @@ public final class AutoFishHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(PacketInputListener.class, this); EVENTS.remove(PacketInputListener.class, this);

View File

@ -58,13 +58,13 @@ public final class AutoLeaveHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -30,7 +30,7 @@ public final class AutoMineHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
WURST.getHax().excavatorHack.setEnabled(false); WURST.getHax().excavatorHack.setEnabled(false);
WURST.getHax().nukerHack.setEnabled(false); WURST.getHax().nukerHack.setEnabled(false);
@ -42,7 +42,7 @@ public final class AutoMineHack extends Hack implements UpdateListener
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
stopMiningAndResetProgress(); stopMiningAndResetProgress();

View File

@ -40,13 +40,13 @@ public final class AutoPotionHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
timer = 0; timer = 0;

View File

@ -29,13 +29,13 @@ public final class AutoRespawnHack extends Hack implements DeathListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(DeathListener.class, this); EVENTS.add(DeathListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(DeathListener.class, this); EVENTS.remove(DeathListener.class, this);
} }

View File

@ -25,7 +25,7 @@ public final class AutoSignHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
signText = null; signText = null;
} }

View File

@ -45,13 +45,13 @@ public final class AutoSoupHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
stopIfEating(); stopIfEating();

View File

@ -33,13 +33,13 @@ public final class AutoSprintHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -23,13 +23,13 @@ public final class AutoSwimHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -23,13 +23,13 @@ public final class AutoSwitchHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -62,14 +62,14 @@ public final class AutoSwordHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
oldSlot = -1; oldSlot = -1;
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
resetSlot(); resetSlot();

View File

@ -60,7 +60,7 @@ public final class AutoToolHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(BlockBreakingProgressListener.class, this); EVENTS.add(BlockBreakingProgressListener.class, this);
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
@ -68,7 +68,7 @@ public final class AutoToolHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(BlockBreakingProgressListener.class, this); EVENTS.remove(BlockBreakingProgressListener.class, this);
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);

View File

@ -68,7 +68,7 @@ public final class AutoTotemHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
nextTickSlot = -1; nextTickSlot = -1;
totems = 0; totems = 0;
@ -78,7 +78,7 @@ public final class AutoTotemHack extends Hack implements UpdateListener
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -23,13 +23,13 @@ public final class AutoWalkHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
((IKeyBinding)MC.options.forwardKey).resetPressedState(); ((IKeyBinding)MC.options.forwardKey).resetPressedState();

View File

@ -131,7 +131,7 @@ public final class BaseFinderHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
// reset timer // reset timer
messageTimer = 0; messageTimer = 0;
@ -142,7 +142,7 @@ public final class BaseFinderHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(RenderListener.class, this); EVENTS.remove(RenderListener.class, this);

View File

@ -50,7 +50,7 @@ public final class BlinkHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
fakePlayer = new FakePlayerEntity(); fakePlayer = new FakePlayerEntity();
@ -59,7 +59,7 @@ public final class BlinkHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(PacketOutputListener.class, this); EVENTS.remove(PacketOutputListener.class, this);

View File

@ -42,13 +42,13 @@ public final class BoatFlyHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -77,13 +77,13 @@ public final class BonemealAuraHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -94,7 +94,7 @@ public final class BowAimbotHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
// disable conflicting hacks // disable conflicting hacks
WURST.getHax().excavatorHack.setEnabled(false); WURST.getHax().excavatorHack.setEnabled(false);
@ -106,7 +106,7 @@ public final class BowAimbotHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(GUIRenderListener.class, this); EVENTS.remove(GUIRenderListener.class, this);
EVENTS.remove(RenderListener.class, this); EVENTS.remove(RenderListener.class, this);

View File

@ -116,14 +116,14 @@ public final class BuildRandomHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
EVENTS.add(RenderListener.class, this); EVENTS.add(RenderListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
lastPos = null; lastPos = null;
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);

View File

@ -36,13 +36,13 @@ public final class BunnyHopHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -96,7 +96,7 @@ public final class CaveFinderHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
prevLimit = limit.getValueI(); prevLimit = limit.getValueI();
notify = true; notify = true;
@ -111,7 +111,7 @@ public final class CaveFinderHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(PacketInputListener.class, coordinator); EVENTS.remove(PacketInputListener.class, coordinator);

View File

@ -39,13 +39,13 @@ public final class ChatTranslatorHack extends Hack implements ChatInputListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(ChatInputListener.class, this); EVENTS.add(ChatInputListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(ChatInputListener.class, this); EVENTS.remove(ChatInputListener.class, this);
} }

View File

@ -65,7 +65,7 @@ public final class ClickAuraHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
// disable other killauras // disable other killauras
WURST.getHax().aimAssistHack.setEnabled(false); WURST.getHax().aimAssistHack.setEnabled(false);
@ -84,7 +84,7 @@ public final class ClickAuraHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(LeftClickListener.class, this); EVENTS.remove(LeftClickListener.class, this);

View File

@ -60,7 +60,7 @@ public final class ClickGuiHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
MC.setScreen(new ClickGuiScreen(WURST.getGui())); MC.setScreen(new ClickGuiScreen(WURST.getGui()));
setEnabled(false); setEnabled(false);

View File

@ -28,7 +28,7 @@ public final class CrashChestHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
if(!MC.player.getAbilities().creativeMode) if(!MC.player.getAbilities().creativeMode)
{ {

View File

@ -52,7 +52,7 @@ public final class CreativeFlightHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
tickCounter = 0; tickCounter = 0;
@ -63,7 +63,7 @@ public final class CreativeFlightHack extends Hack implements UpdateListener
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);

View File

@ -40,13 +40,13 @@ public final class CriticalsHack extends Hack implements LeftClickListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(LeftClickListener.class, this); EVENTS.add(LeftClickListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(LeftClickListener.class, this); EVENTS.remove(LeftClickListener.class, this);
} }

View File

@ -90,7 +90,7 @@ public final class CrystalAuraHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
// disable other killauras // disable other killauras
WURST.getHax().aimAssistHack.setEnabled(false); WURST.getHax().aimAssistHack.setEnabled(false);
@ -107,7 +107,7 @@ public final class CrystalAuraHack extends Hack implements UpdateListener
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -27,7 +27,7 @@ public final class DerpHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
// disable incompatible derps // disable incompatible derps
WURST.getHax().headRollHack.setEnabled(false); WURST.getHax().headRollHack.setEnabled(false);
@ -37,7 +37,7 @@ public final class DerpHack extends Hack implements UpdateListener
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -24,14 +24,14 @@ public final class DolphinHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
WURST.getHax().fishHack.setEnabled(false); WURST.getHax().fishHack.setEnabled(false);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -91,7 +91,7 @@ public final class ExcavatorHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
// disable conflicting hacks // disable conflicting hacks
WURST.getHax().autoMineHack.setEnabled(false); WURST.getHax().autoMineHack.setEnabled(false);
@ -110,7 +110,7 @@ public final class ExcavatorHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(RenderListener.class, this); EVENTS.remove(RenderListener.class, this);

View File

@ -53,14 +53,14 @@ public final class ExtraElytraHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
jumpTimer = 0; jumpTimer = 0;
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -24,13 +24,13 @@ public final class FancyChatHack extends Hack implements ChatOutputListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(ChatOutputListener.class, this); EVENTS.add(ChatOutputListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(ChatOutputListener.class, this); EVENTS.remove(ChatOutputListener.class, this);
} }

View File

@ -24,13 +24,13 @@ public final class FastLadderHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -22,13 +22,13 @@ public final class FastPlaceHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -81,7 +81,7 @@ public final class FightBotHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
// disable other killauras // disable other killauras
WURST.getHax().aimAssistHack.setEnabled(false); WURST.getHax().aimAssistHack.setEnabled(false);
@ -103,7 +103,7 @@ public final class FightBotHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
// remove listener // remove listener
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);

View File

@ -24,14 +24,14 @@ public final class FishHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
WURST.getHax().dolphinHack.setEnabled(false); WURST.getHax().dolphinHack.setEnabled(false);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -68,7 +68,7 @@ public final class FlightHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
tickCounter = 0; tickCounter = 0;
@ -81,7 +81,7 @@ public final class FlightHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(IsPlayerInWaterListener.class, this); EVENTS.remove(IsPlayerInWaterListener.class, this);

View File

@ -76,7 +76,7 @@ public final class FollowHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
WURST.getHax().fightBotHack.setEnabled(false); WURST.getHax().fightBotHack.setEnabled(false);
WURST.getHax().protectHack.setEnabled(false); WURST.getHax().protectHack.setEnabled(false);
@ -115,7 +115,7 @@ public final class FollowHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(RenderListener.class, this); EVENTS.remove(RenderListener.class, this);

View File

@ -52,7 +52,7 @@ public final class ForceOpHack extends Hack implements ChatInputListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
passwords = defaultList; passwords = defaultList;
gotWrongPwMsg = false; gotWrongPwMsg = false;
@ -147,7 +147,7 @@ public final class ForceOpHack extends Hack implements ChatInputListener
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(ChatInputListener.class, this); EVENTS.remove(ChatInputListener.class, this);

View File

@ -69,7 +69,7 @@ public final class FreecamHack extends Hack implements UpdateListener,
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
EVENTS.add(PacketOutputListener.class, this); EVENTS.add(PacketOutputListener.class, this);
@ -92,7 +92,7 @@ public final class FreecamHack extends Hack implements UpdateListener,
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(PacketOutputListener.class, this); EVENTS.remove(PacketOutputListener.class, this);

View File

@ -48,14 +48,14 @@ public final class GlideHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
EVENTS.add(AirStrafingSpeedListener.class, this); EVENTS.add(AirStrafingSpeedListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(AirStrafingSpeedListener.class, this); EVENTS.remove(AirStrafingSpeedListener.class, this);

View File

@ -24,7 +24,7 @@ public final class HeadRollHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
// disable incompatible derps // disable incompatible derps
WURST.getHax().derpHack.setEnabled(false); WURST.getHax().derpHack.setEnabled(false);
@ -34,7 +34,7 @@ public final class HeadRollHack extends Hack implements UpdateListener
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -61,7 +61,7 @@ public final class InstantBunkerHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
WURST.getHax().tunnellerHack.setEnabled(false); WURST.getHax().tunnellerHack.setEnabled(false);
@ -111,7 +111,7 @@ public final class InstantBunkerHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(RenderListener.class, this); EVENTS.remove(RenderListener.class, this);

View File

@ -58,13 +58,13 @@ public final class InvWalkHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -65,7 +65,7 @@ public final class ItemEspHack extends Hack implements UpdateListener,
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
EVENTS.add(CameraTransformViewBobbingListener.class, this); EVENTS.add(CameraTransformViewBobbingListener.class, this);
@ -73,7 +73,7 @@ public final class ItemEspHack extends Hack implements UpdateListener,
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(CameraTransformViewBobbingListener.class, this); EVENTS.remove(CameraTransformViewBobbingListener.class, this);

View File

@ -47,7 +47,7 @@ public final class ItemGeneratorHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
@ -59,7 +59,7 @@ public final class ItemGeneratorHack extends Hack implements UpdateListener
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -46,14 +46,14 @@ public final class JesusHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
EVENTS.add(PacketOutputListener.class, this); EVENTS.add(PacketOutputListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(PacketOutputListener.class, this); EVENTS.remove(PacketOutputListener.class, this);

View File

@ -23,7 +23,7 @@ public final class JetpackHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
WURST.getHax().creativeFlightHack.setEnabled(false); WURST.getHax().creativeFlightHack.setEnabled(false);
WURST.getHax().flightHack.setEnabled(false); WURST.getHax().flightHack.setEnabled(false);
@ -32,7 +32,7 @@ public final class JetpackHack extends Hack implements UpdateListener
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -37,13 +37,13 @@ public final class KaboomHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -37,7 +37,7 @@ public final class KillPotionHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
// check gamemode // check gamemode
if(!MC.player.getAbilities().creativeMode) if(!MC.player.getAbilities().creativeMode)

View File

@ -23,7 +23,7 @@ public final class LsdHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
if(!(MC.getCameraEntity() instanceof PlayerEntity)) if(!(MC.getCameraEntity() instanceof PlayerEntity))
{ {
@ -39,7 +39,7 @@ public final class LsdHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
if(MC.gameRenderer.getPostProcessor() != null) if(MC.gameRenderer.getPostProcessor() != null)
MC.gameRenderer.disablePostProcessor(); MC.gameRenderer.disablePostProcessor();

View File

@ -75,7 +75,7 @@ public final class MassTpaHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
// reset state // reset state
players.clear(); players.clear();
@ -111,7 +111,7 @@ public final class MassTpaHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(ChatInputListener.class, this); EVENTS.remove(ChatInputListener.class, this);
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);

View File

@ -33,14 +33,14 @@ public final class MileyCyrusHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
timer = 0; timer = 0;
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
((IKeyBinding)MC.options.sneakKey).resetPressedState(); ((IKeyBinding)MC.options.sneakKey).resetPressedState();

View File

@ -92,7 +92,7 @@ public final class MobEspHack extends Hack implements UpdateListener,
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
EVENTS.add(CameraTransformViewBobbingListener.class, this); EVENTS.add(CameraTransformViewBobbingListener.class, this);
@ -104,7 +104,7 @@ public final class MobEspHack extends Hack implements UpdateListener,
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(CameraTransformViewBobbingListener.class, this); EVENTS.remove(CameraTransformViewBobbingListener.class, this);

View File

@ -77,7 +77,7 @@ public final class MobSpawnEspHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
pool = MinPriorityThreadFactory.newFixedThreadPool(); pool = MinPriorityThreadFactory.newFixedThreadPool();
@ -87,7 +87,7 @@ public final class MobSpawnEspHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(PacketInputListener.class, this); EVENTS.remove(PacketInputListener.class, this);

View File

@ -58,7 +58,7 @@ public final class MultiAuraHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
// disable other killauras // disable other killauras
WURST.getHax().aimAssistHack.setEnabled(false); WURST.getHax().aimAssistHack.setEnabled(false);
@ -76,7 +76,7 @@ public final class MultiAuraHack extends Hack implements UpdateListener
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -25,7 +25,7 @@ public final class NavigatorHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
if(!(MC.currentScreen instanceof NavigatorMainScreen)) if(!(MC.currentScreen instanceof NavigatorMainScreen))
MC.setScreen(new NavigatorMainScreen()); MC.setScreen(new NavigatorMainScreen());

View File

@ -29,7 +29,7 @@ public final class NoClipHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
EVENTS.add(PlayerMoveListener.class, this); EVENTS.add(PlayerMoveListener.class, this);
@ -39,7 +39,7 @@ public final class NoClipHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(PlayerMoveListener.class, this); EVENTS.remove(PlayerMoveListener.class, this);

View File

@ -49,13 +49,13 @@ public final class NoFallHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -21,13 +21,13 @@ public final class NoWebHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -96,7 +96,7 @@ public final class NukerLegitHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
// disable other nukers // disable other nukers
WURST.getHax().autoMineHack.setEnabled(false); WURST.getHax().autoMineHack.setEnabled(false);
@ -112,7 +112,7 @@ public final class NukerLegitHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
// remove listeners // remove listeners
EVENTS.remove(LeftClickListener.class, this); EVENTS.remove(LeftClickListener.class, this);

View File

@ -43,13 +43,13 @@ public final class OpenWaterEspHack extends Hack implements RenderListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(RenderListener.class, this); EVENTS.add(RenderListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(RenderListener.class, this); EVENTS.remove(RenderListener.class, this);
} }

View File

@ -28,14 +28,14 @@ public final class OverlayHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
EVENTS.add(RenderListener.class, this); EVENTS.add(RenderListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(RenderListener.class, this); EVENTS.remove(RenderListener.class, this);

View File

@ -24,13 +24,13 @@ public final class PanicHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -45,14 +45,14 @@ public final class ParkourHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
WURST.getHax().safeWalkHack.setEnabled(false); WURST.getHax().safeWalkHack.setEnabled(false);
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -74,7 +74,7 @@ public final class PlayerEspHack extends Hack implements UpdateListener,
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
EVENTS.add(CameraTransformViewBobbingListener.class, this); EVENTS.add(CameraTransformViewBobbingListener.class, this);
@ -82,7 +82,7 @@ public final class PlayerEspHack extends Hack implements UpdateListener,
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(CameraTransformViewBobbingListener.class, this); EVENTS.remove(CameraTransformViewBobbingListener.class, this);

View File

@ -96,7 +96,7 @@ public final class PortalEspHack extends Hack implements UpdateListener,
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
groupsUpToDate = false; groupsUpToDate = false;
@ -109,7 +109,7 @@ public final class PortalEspHack extends Hack implements UpdateListener,
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(PacketInputListener.class, coordinator); EVENTS.remove(PacketInputListener.class, coordinator);

View File

@ -36,13 +36,13 @@ public final class ProphuntEspHack extends Hack implements RenderListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(RenderListener.class, this); EVENTS.add(RenderListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(RenderListener.class, this); EVENTS.remove(RenderListener.class, this);
} }

View File

@ -109,7 +109,7 @@ public final class ProtectHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
WURST.getHax().followHack.setEnabled(false); WURST.getHax().followHack.setEnabled(false);
WURST.getHax().tunnellerHack.setEnabled(false); WURST.getHax().tunnellerHack.setEnabled(false);
@ -149,7 +149,7 @@ public final class ProtectHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(RenderListener.class, this); EVENTS.remove(RenderListener.class, this);

View File

@ -67,14 +67,14 @@ public final class RadarHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
window.setInvisible(false); window.setInvisible(false);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
window.setInvisible(true); window.setInvisible(true);

View File

@ -47,7 +47,7 @@ public final class RemoteViewHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
// find entity if not already set // find entity if not already set
if(entity == null) if(entity == null)
@ -94,7 +94,7 @@ public final class RemoteViewHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
// remove listener // remove listener
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);

View File

@ -65,13 +65,13 @@ public final class RestockHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -37,13 +37,13 @@ public final class ScaffoldWalkHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -95,7 +95,7 @@ public final class SearchHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
lastBlock = block.getBlock(); lastBlock = block.getBlock();
coordinator.setTargetBlock(lastBlock); coordinator.setTargetBlock(lastBlock);
@ -112,7 +112,7 @@ public final class SearchHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(PacketInputListener.class, coordinator); EVENTS.remove(PacketInputListener.class, coordinator);

View File

@ -27,13 +27,13 @@ public final class SkinDerpHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);

View File

@ -52,14 +52,14 @@ public final class SneakHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(PreMotionListener.class, this); EVENTS.add(PreMotionListener.class, this);
EVENTS.add(PostMotionListener.class, this); EVENTS.add(PostMotionListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(PreMotionListener.class, this); EVENTS.remove(PreMotionListener.class, this);
EVENTS.remove(PostMotionListener.class, this); EVENTS.remove(PostMotionListener.class, this);

View File

@ -23,13 +23,13 @@ public final class SpeedHackHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -92,7 +92,7 @@ public final class SpeedNukerHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
// disable other nukers // disable other nukers
WURST.getHax().autoMineHack.setEnabled(false); WURST.getHax().autoMineHack.setEnabled(false);
@ -107,7 +107,7 @@ public final class SpeedNukerHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
// remove listeners // remove listeners
EVENTS.remove(LeftClickListener.class, this); EVENTS.remove(LeftClickListener.class, this);

View File

@ -22,13 +22,13 @@ public final class SpiderHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -39,13 +39,13 @@ public final class StepHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
MC.player.stepHeight = 0.5F; MC.player.stepHeight = 0.5F;

View File

@ -35,13 +35,13 @@ public final class ThrowHack extends Hack implements RightClickListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(RightClickListener.class, this); EVENTS.add(RightClickListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(RightClickListener.class, this); EVENTS.remove(RightClickListener.class, this);
} }

View File

@ -65,13 +65,13 @@ public final class TillauraHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(UpdateListener.class, this); EVENTS.add(UpdateListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -21,7 +21,7 @@ public final class TiredHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
// disable incompatible derps // disable incompatible derps
WURST.getHax().derpHack.setEnabled(false); WURST.getHax().derpHack.setEnabled(false);
@ -31,7 +31,7 @@ public final class TiredHack extends Hack implements UpdateListener
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -67,7 +67,7 @@ public final class TpAuraHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
// disable other killauras // disable other killauras
WURST.getHax().aimAssistHack.setEnabled(false); WURST.getHax().aimAssistHack.setEnabled(false);
@ -85,7 +85,7 @@ public final class TpAuraHack extends Hack implements UpdateListener
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

View File

@ -69,13 +69,13 @@ public final class TrajectoriesHack extends Hack implements RenderListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
EVENTS.add(RenderListener.class, this); EVENTS.add(RenderListener.class, this);
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(RenderListener.class, this); EVENTS.remove(RenderListener.class, this);
} }

View File

@ -101,7 +101,7 @@ public final class TreeBotHack extends Hack
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
treeFinder = new TreeFinder(); treeFinder = new TreeFinder();
@ -110,7 +110,7 @@ public final class TreeBotHack extends Hack
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(RenderListener.class, this); EVENTS.remove(RenderListener.class, this);

View File

@ -53,7 +53,7 @@ public final class TriggerBotHack extends Hack implements UpdateListener
} }
@Override @Override
public void onEnable() protected void onEnable()
{ {
// disable other killauras // disable other killauras
WURST.getHax().clickAuraHack.setEnabled(false); WURST.getHax().clickAuraHack.setEnabled(false);
@ -70,7 +70,7 @@ public final class TriggerBotHack extends Hack implements UpdateListener
} }
@Override @Override
public void onDisable() protected void onDisable()
{ {
EVENTS.remove(UpdateListener.class, this); EVENTS.remove(UpdateListener.class, this);
} }

Some files were not shown because too many files have changed in this diff Show More