Browse Source

This was redundant was redundant

GJ 12 years ago
parent
commit
fd138eb0b5
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/java/com/gmail/nossr50/skills/herbalism/Herbalism.java

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

@@ -256,7 +256,7 @@ public class Herbalism {
         float chance = (float) ((greenThumbMaxChance / greenThumbMaxLevel) * herbLevel);
         float chance = (float) ((greenThumbMaxChance / greenThumbMaxLevel) * herbLevel);
         if (chance > greenThumbMaxChance) chance = (float) greenThumbMaxChance;
         if (chance > greenThumbMaxChance) chance = (float) greenThumbMaxChance;
 
 
-        if (hasSeeds && profile.getAbilityMode(AbilityType.GREEN_TERRA) || hasSeeds && (chance > Misc.getRandom().nextInt(activationChance))) {
+        if (hasSeeds && (profile.getAbilityMode(AbilityType.GREEN_TERRA) || chance > Misc.getRandom().nextInt(activationChance))) {
             event.setCancelled(true);
             event.setCancelled(true);
 
 
             switch(type) {
             switch(type) {