mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 15:16:45 +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