Fixed bug with repairing wooden tools.

This commit is contained in:
GJ
2012-04-05 14:45:35 -04:00
parent a01a5a737b
commit 1edc32c6b0
2 changed files with 2 additions and 0 deletions

View File

@ -484,5 +484,6 @@ public class Repair {
int slot = inventory.first(Material.WOOD);
ItemStack item = inventory.getItem(slot);
item.setAmount(item.getAmount() - 1);
inventory.setItem(slot, item);
}
}