From 17427e675e4a9e3cb2e9b408d0179ffe4527070a Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Mon, 25 Mar 2019 21:37:27 +0000 Subject: [PATCH] Fixes https://github.com/TechReborn/TechReborn/issues/1693 and Fixes https://github.com/FTBTeam/FTB-Sky-Odyssey/issues/102 --- .../techreborn/blocks/generator/solarpanel/BlockSolarPanel.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/techreborn/blocks/generator/solarpanel/BlockSolarPanel.java b/src/main/java/techreborn/blocks/generator/solarpanel/BlockSolarPanel.java index 568bb3717..401a65176 100644 --- a/src/main/java/techreborn/blocks/generator/solarpanel/BlockSolarPanel.java +++ b/src/main/java/techreborn/blocks/generator/solarpanel/BlockSolarPanel.java @@ -95,7 +95,7 @@ public class BlockSolarPanel extends BlockMachineBase { @Override 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