Added frypan rotation

This commit is contained in:
Arthur Uzulin committed 2013-08-18 19:58:36 -07:00
1 parent b410720aab
commit 499aabe952
3 files changed
+54 -9

No files matched your search

+1
View File
@@ -128,6 +128,7 @@ public class FryingPan extends Weapon
else
{
world.setBlock(x, y, z, TContent.heldItemBlock.blockID, 0, 3);
TContent.heldItemBlock.onBlockPlacedBy(world, x, y, z, player, stack);
world.playSoundEffect(x, y, z, "tinker:frypan_hit", 1.0F, (random.nextFloat() - random.nextFloat()) * 0.2F + 0.65F);
EquipLogic logic = (EquipLogic) world.getBlockTileEntity(x, y, z);