mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-25 18:17:46 +01:00
Fixing XP gain in fishing
This commit is contained in:
parent
22c5280d4e
commit
9aae4825cc
@ -68,6 +68,7 @@ public class FishingManager extends SkillManager {
|
||||
long currentTime = System.currentTimeMillis();
|
||||
boolean hasFished = (currentTime < fishingTimestamp + FISHING_COOLDOWN_SECONDS);
|
||||
|
||||
if(hasFished == true)
|
||||
fishingTimestamp = currentTime;
|
||||
|
||||
Location targetLocation = targetBlock.getLocation();
|
||||
|
Loading…
Reference in New Issue
Block a user