This commit is contained in:
modmuss50 2018-04-14 00:02:50 +01:00
parent 6a00ffde5c
commit 75b8c4d317
No known key found for this signature in database
GPG key ID: 773D17BE8BF49C82

View file

@ -105,7 +105,7 @@ public class BlockSolarPanel extends BlockMachineBase {
}
@Override
public int damageDropped(IBlockState state) {
return getMetaFromState(state);
return state.getValue(TYPE).ordinal();
}
@Override