modmuss50 2019-03-25 21:37:27 +00:00
parent 8261874665
commit 17427e675e

View file

@ -95,7 +95,7 @@ public class BlockSolarPanel extends BlockMachineBase {
@Override @Override
public IBlockState getStateForPlacement(World world, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer, EnumHand hand) { public IBlockState getStateForPlacement(World world, BlockPos pos, EnumFacing facing, float hitX, float hitY, float hitZ, int meta, EntityLivingBase placer, EnumHand hand) {
return getStateFromMeta(placer.getHeldItem(hand).getItemDamage()); return getStateFromMeta(meta);
} }
@Override @Override