Include new 1.7 biomes in fishing biome XP boost and Ice Fishing check

This commit is contained in:
riking
2013-12-04 16:16:48 -08:00
committed by TfT_02
parent 60ddd799de
commit 461871327b
3 changed files with 13 additions and 11 deletions

View File

@ -98,9 +98,7 @@ public class FishingCommand extends SkillCommand {
location = player.getLocation();
}
Biome biome = location.getBlock().getBiome();
if (biome == Biome.RIVER || biome == Biome.OCEAN) {
if (Fishing.masterAnglerBiomes.contains(location.getBlock().getBiome())) {
rawBiteChance = rawBiteChance * AdvancedConfig.getInstance().getMasterAnglerBiomeModifier();
}