From 203d3749ee10641d01507b3b26c8e667ff7b681e Mon Sep 17 00:00:00 2001 From: t00thpick1 Date: Sun, 14 Oct 2018 21:27:55 -0400 Subject: [PATCH] Fix herbalism XP again --- .../com/gmail/nossr50/skills/herbalism/HerbalismManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/gmail/nossr50/skills/herbalism/HerbalismManager.java b/src/main/java/com/gmail/nossr50/skills/herbalism/HerbalismManager.java index 7304a8ce6..43f93c44c 100644 --- a/src/main/java/com/gmail/nossr50/skills/herbalism/HerbalismManager.java +++ b/src/main/java/com/gmail/nossr50/skills/herbalism/HerbalismManager.java @@ -134,7 +134,7 @@ public class HerbalismManager extends SkillManager { } } 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)) { drops = blockState.getBlock().getDrops();