This was redundant was redundant

This commit is contained in:
GJ 2013-02-15 19:20:42 -05:00
parent 6d5835849f
commit fd138eb0b5

View File

@ -256,7 +256,7 @@ public class Herbalism {
float chance = (float) ((greenThumbMaxChance / greenThumbMaxLevel) * herbLevel);
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);
switch(type) {