mirror of
				https://github.com/mcMMO-Dev/mcMMO.git
				synced 2025-11-04 02:53:43 +01:00 
			
		
		
		
	@@ -86,11 +86,11 @@ public class FishingCommand extends SkillCommand {
 | 
			
		||||
            Biome biome = player.getLocation().getBlock().getBiome();
 | 
			
		||||
 | 
			
		||||
            if (biome == Biome.RIVER || biome == Biome.OCEAN) {
 | 
			
		||||
                rawBiteChance = rawBiteChance * 2.0;
 | 
			
		||||
                rawBiteChance = rawBiteChance * AdvancedConfig.getInstance().getMasterAnglerBiomeModifier();
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            if (player.isInsideVehicle() && player.getVehicle().getType() == EntityType.BOAT) {
 | 
			
		||||
                rawBiteChance = rawBiteChance * 2.0;
 | 
			
		||||
                rawBiteChance = rawBiteChance * AdvancedConfig.getInstance().getMasterAnglerBoatModifier();
 | 
			
		||||
            }
 | 
			
		||||
 | 
			
		||||
            biteChance = calculateAbilityDisplayValues(rawBiteChance * 100.0)[0];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user