From 75b8c4d3173d0a1f93d9c2838631503dab99d6f7 Mon Sep 17 00:00:00 2001 From: modmuss50 Date: Sat, 14 Apr 2018 00:02:50 +0100 Subject: [PATCH] Fix #1485 --- .../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 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