arm swing happens on both worlds
This commit is contained in:
@@ -73,12 +73,12 @@ public class Anvil extends CustomContainerFacing {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, EnumFacing facing, float hitx, float hity, float hitz) {
|
public boolean onBlockActivated(World world, BlockPos pos, IBlockState state, EntityPlayer player, EnumHand hand, EnumFacing facing, float hitx, float hity, float hitz) {
|
||||||
if (world.isRemote) {
|
|
||||||
if (!player.isSwingInProgress) {
|
if (!player.isSwingInProgress) {
|
||||||
player.swingArm(hand);
|
player.swingArm(hand);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/******************************************************************************
|
/******************************************************************************
|
||||||
Crafting Anvil Recipes
|
Crafting Anvil Recipes
|
||||||
*****************************************************************************/
|
*****************************************************************************/
|
||||||
|
|||||||
Reference in New Issue
Block a user