mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-29 20:24:44 +02:00
Update mcMMO for Minecraft 1.7.2
This commit is contained in:
@ -304,6 +304,7 @@ public class FishingManager extends SkillManager {
|
||||
*/
|
||||
public void handleFishing(Item fishingCatch) {
|
||||
this.fishingCatch = fishingCatch;
|
||||
int fishXp = ExperienceConfig.getInstance().getFishXp(fishingCatch.getItemStack().getData());
|
||||
int treasureXp = 0;
|
||||
Player player = getPlayer();
|
||||
FishingTreasure treasure = null;
|
||||
@ -351,7 +352,7 @@ public class FishingManager extends SkillManager {
|
||||
}
|
||||
}
|
||||
|
||||
applyXpGain(ExperienceConfig.getInstance().getFishingBaseXP() + treasureXp);
|
||||
applyXpGain(fishXp + treasureXp);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user