Fixing XP gain in fishing

This commit is contained in:
nossr50 2019-01-26 14:34:28 -08:00
parent 22c5280d4e
commit 9aae4825cc

View File

@ -68,6 +68,7 @@ public class FishingManager extends SkillManager {
long currentTime = System.currentTimeMillis(); long currentTime = System.currentTimeMillis();
boolean hasFished = (currentTime < fishingTimestamp + FISHING_COOLDOWN_SECONDS); boolean hasFished = (currentTime < fishingTimestamp + FISHING_COOLDOWN_SECONDS);
if(hasFished == true)
fishingTimestamp = currentTime; fishingTimestamp = currentTime;
Location targetLocation = targetBlock.getLocation(); Location targetLocation = targetBlock.getLocation();