mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +01:00
tweaking anti-afk
This commit is contained in:
parent
c7ed3ee2a0
commit
85a04c71f4
@ -72,8 +72,7 @@ public class FishingManager extends SkillManager {
|
||||
Location targetLocation = targetBlock.getLocation();
|
||||
boolean sameTarget = (fishingTarget != null && fishingTarget.equals(targetLocation));
|
||||
|
||||
if(!sameTarget)
|
||||
fishingTarget = targetLocation;
|
||||
fishingTarget = targetLocation;
|
||||
|
||||
return hasFished || sameTarget;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user