tweaking anti-afk

This commit is contained in:
nossr50 2019-01-27 21:13:42 -08:00
parent c7ed3ee2a0
commit 85a04c71f4

View File

@ -72,8 +72,7 @@ public class FishingManager extends SkillManager {
Location targetLocation = targetBlock.getLocation(); Location targetLocation = targetBlock.getLocation();
boolean sameTarget = (fishingTarget != null && fishingTarget.equals(targetLocation)); boolean sameTarget = (fishingTarget != null && fishingTarget.equals(targetLocation));
if(!sameTarget) fishingTarget = targetLocation;
fishingTarget = targetLocation;
return hasFished || sameTarget; return hasFished || sameTarget;
} }