diff --git a/src/main/java/techreborn/blocks/generator/solarpanel/BlockSolarPanel.java b/src/main/java/techreborn/blocks/generator/solarpanel/BlockSolarPanel.java index 0225d41fe..e7dfa02a0 100644 --- a/src/main/java/techreborn/blocks/generator/solarpanel/BlockSolarPanel.java +++ b/src/main/java/techreborn/blocks/generator/solarpanel/BlockSolarPanel.java @@ -105,7 +105,7 @@ public class BlockSolarPanel extends BlockMachineBase { } @Override public int damageDropped(IBlockState state) { - return getMetaFromState(state); + return state.getValue(TYPE).ordinal(); } @Override