Fix HarvestHandlerStem not working (#1165)
This commit is contained in:
parent
061850ee29
commit
16d4609a48
|
@ -39,7 +39,7 @@ public class HarvestHandlerStem implements IHarvestHandler
|
||||||
BlockPos cropPos = pos;
|
BlockPos cropPos = pos;
|
||||||
if (HarvestRegistry.getStemCrops().containsKey(blockStack))
|
if (HarvestRegistry.getStemCrops().containsKey(blockStack))
|
||||||
{
|
{
|
||||||
EnumFacing cropDir = blockStack.getState().getValue(BlockStem.FACING);
|
EnumFacing cropDir = blockStack.getBlock().getActualState(blockStack.getState(), world, pos).getValue(BlockStem.FACING);
|
||||||
|
|
||||||
if (cropDir != EnumFacing.UP)
|
if (cropDir != EnumFacing.UP)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue