Green Thumb consumes seeds again

Fixes MCCORE-36
This commit is contained in:
nossr50 2012-02-23 00:13:55 -08:00
parent 89802e23e2
commit d1b522b534

View File

@ -150,7 +150,7 @@ public class Herbalism
}
//GREEN THUMB
if(PP.getGreenTerraMode() || (herbLevel >= 1500 || (Math.random() * 1500 <= herbLevel)))
if(hasSeeds(player) && PP.getGreenTerraMode() || hasSeeds(player) && (herbLevel >= 1500 || (Math.random() * 1500 <= herbLevel)))
{
event.setCancelled(true);
m.mcDropItem(loc, is);
@ -178,6 +178,7 @@ public class Herbalism
}
}, 1);
removeSeeds(player);
}
}