summaryrefslogtreecommitdiff
path: root/src/main/java/darkknight/jewelrycraft/block/BlockHandPedestal.java
diff options
context:
space:
mode:
authorOnyxDarkKnight <sor1n.iliutza16@gmail.com>2015-04-30 01:25:36 +0100
committerOnyxDarkKnight <sor1n.iliutza16@gmail.com>2015-04-30 01:25:36 +0100
commitc19aeae6ae51ca9019f8051f83ab7eb52f4a1608 (patch)
tree352b2eb480eb811adbc49893d126725c0c24a416 /src/main/java/darkknight/jewelrycraft/block/BlockHandPedestal.java
parentb9ca797621e116f65aff916f5d4d485a93be1abf (diff)
- Hand Pedestals no longer close the palm when you put something in
- Fixed the ritual crashing - Fixed the Liquids Tab from crashing
Diffstat (limited to 'src/main/java/darkknight/jewelrycraft/block/BlockHandPedestal.java')
-rw-r--r--src/main/java/darkknight/jewelrycraft/block/BlockHandPedestal.java2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/main/java/darkknight/jewelrycraft/block/BlockHandPedestal.java b/src/main/java/darkknight/jewelrycraft/block/BlockHandPedestal.java
index 6fe5b7f..f88048e 100644
--- a/src/main/java/darkknight/jewelrycraft/block/BlockHandPedestal.java
+++ b/src/main/java/darkknight/jewelrycraft/block/BlockHandPedestal.java
@@ -98,12 +98,10 @@ public class BlockHandPedestal extends BlockContainer
if (te != null){
if (!world.isRemote && te.getHeldItemStack() == null && item != null){
te.setHeldItemStack(item.copy());
- te.closeHand();
if (!entityPlayer.capabilities.isCreativeMode) item.stackSize--;
te.markDirty();
}else if (entityPlayer.isSneaking()) if (entityPlayer.inventory.addItemStackToInventory(te.getHeldItemStack())){
te.removeHeldItemStack();
- te.openHand();
}
te.markDirty();
}