Cleanup to Repair.java, fixed bug of Herbalism double drops failing,

fixed bug with Super Repair calculations.
This commit is contained in:
GJ
2012-03-15 13:11:56 -04:00
parent 558e4f4dd0
commit ebc87f46f7
2 changed files with 112 additions and 95 deletions

View File

@ -223,7 +223,7 @@ public class Herbalism {
return;
}
else {
ItemStack is = new ItemStack(mat);
ItemStack is = new ItemStack(mat, 1);
if (herbLevel > MAX_BONUS_LEVEL || (Math.random() * 1000 <= herbLevel)) {
if (type.equals(Material.CACTUS)) {