mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2025-06-27 19:24:44 +02:00
Use hook location in Master Angler
This commit is contained in:
@ -277,7 +277,8 @@ public class FishingManager extends SkillManager {
|
||||
|
||||
public void masterAngler(Fish hook) {
|
||||
Player player = getPlayer();
|
||||
Biome biome = player.getLocation().getBlock().getBiome();
|
||||
mcMMOPlayer.setHookLocation(hook.getLocation());
|
||||
Biome biome = hook.getLocation().getBlock().getBiome();
|
||||
double biteChance = hook.getBiteChance();
|
||||
|
||||
if (biome == Biome.RIVER || biome == Biome.OCEAN) {
|
||||
|
Reference in New Issue
Block a user