Fix herbalism XP again

This commit is contained in:
t00thpick1 2018-10-14 21:27:55 -04:00
parent 1fcecbd3e7
commit 203d3749ee

View File

@ -134,7 +134,7 @@ public class HerbalismManager extends SkillManager {
} }
} }
else { else {
xp = ExperienceConfig.getInstance().getXp(skill, blockState.getType()); xp = ExperienceConfig.getInstance().getXp(skill, blockState.getBlockData());
if (Config.getInstance().getDoubleDropsEnabled(skill, material) && Permissions.secondaryAbilityEnabled(player, SecondaryAbility.HERBALISM_DOUBLE_DROPS)) { if (Config.getInstance().getDoubleDropsEnabled(skill, material) && Permissions.secondaryAbilityEnabled(player, SecondaryAbility.HERBALISM_DOUBLE_DROPS)) {
drops = blockState.getBlock().getDrops(); drops = blockState.getBlock().getDrops();