Skip to content

Commit

Permalink
Remove redundant null check
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander01998 committed Jan 1, 2024
1 parent 925fa1f commit 1b6ca24
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/java/net/wurstclient/hacks/AutoFishHack.java
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,7 @@ public void onUpdate()
}

// if an entity got hooked, reel in immediately
if(MC.player.fishHook != null
&& MC.player.fishHook.getHookedEntity() != null)
if(MC.player.fishHook.getHookedEntity() != null)
reelInTimer = 0;

// otherwise, reel in when it's time
Expand Down

0 comments on commit 1b6ca24

Please sign in to comment.