Ver Fonte

Forgot this one

bm01 há 12 anos atrás
pai
commit
3839373f5a

+ 1 - 1
src/main/java/com/gmail/nossr50/skills/herbalism/HerbalismManager.java

@@ -122,7 +122,7 @@ public class HerbalismManager extends SkillManager {
         ItemStack drop = null;
         int amount = 1;
         int xp = 0;
-        boolean greenTerra = mcMMOPlayer.getAbilityMode(AbilityType.GREEN_TERRA);
+        boolean greenTerra = mcMMOPlayer.getAbilityMode(skill.getAbility());
 
         if (herbalismBlock != null) {
             if (herbalismBlock.hasGreenThumbPermission(getPlayer())) {