Merge pull request #3 from pure42/master

Quick fix.
This commit is contained in:
pahimar 2012-07-08 08:27:37 -07:00
commit 61139106bf
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ public class CraftingHandler implements ICraftingHandler {
if (mod_EE3.proxy.isPortableCraftingGUIOpen()) {
ItemStack currentInventoryItem = player.inventory.getCurrentItem();
if (currentInventoryItem != null) {
player.inventory.getCurrentItem().damageItem(1, player);
currentInventoryItem.damageItem(1, player);
}
}