Skip to content

Commit

Permalink
Sync: Fix inconsistent visibility of onEnable() / onDisable() methods
Browse files Browse the repository at this point in the history
  • Loading branch information
BlueGradientHorizon committed Apr 11, 2024
1 parent 70fe7fe commit e6b9eee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/net/wurstclient/hacks/MurderMysteryHack.java
Original file line number Diff line number Diff line change
Expand Up @@ -148,15 +148,15 @@ public MurderMysteryHack()
}

@Override
public void onEnable()
protected void onEnable()
{
EVENTS.add(UpdateListener.class, this);
EVENTS.add(PacketInputListener.class, this);
EVENTS.add(RenderListener.class, this);
}

@Override
public void onDisable()
protected void onDisable()
{
EVENTS.remove(UpdateListener.class, this);
EVENTS.remove(PacketInputListener.class, this);
Expand Down

0 comments on commit e6b9eee

Please sign in to comment.