mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 03:04:44 +02:00
AFK Fishing protection
This commit is contained in:
@ -72,7 +72,8 @@ public class FishingManager extends SkillManager {
|
||||
|
||||
Location targetLocation = targetBlock.getLocation();
|
||||
boolean sameTarget = (fishingTarget != null && fishingTarget.equals(targetLocation));
|
||||
return hasFished && sameTarget;
|
||||
|
||||
return hasFished || sameTarget;
|
||||
}
|
||||
|
||||
public boolean canIceFish(Block block) {
|
||||
|
Reference in New Issue
Block a user