ソースを参照

Forgot this one

bm01 12 年 前
コミット
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;
         ItemStack drop = null;
         int amount = 1;
         int amount = 1;
         int xp = 0;
         int xp = 0;
-        boolean greenTerra = mcMMOPlayer.getAbilityMode(AbilityType.GREEN_TERRA);
+        boolean greenTerra = mcMMOPlayer.getAbilityMode(skill.getAbility());
 
 
         if (herbalismBlock != null) {
         if (herbalismBlock != null) {
             if (herbalismBlock.hasGreenThumbPermission(getPlayer())) {
             if (herbalismBlock.hasGreenThumbPermission(getPlayer())) {