Skip to content
Permalink
Browse files

Farmland is no longer destroyed by falling on it (Fix #448)

  • Loading branch information
DisasterMoo authored and alcatrazEscapee committed Sep 25, 2019
1 parent 5d99c8b commit 33c9bcf8145e721aef01ce81663d02bc3b3b2138
Showing with 0 additions and 10 deletions.
  1. +0 −10 src/main/java/net/dries007/tfc/objects/blocks/stone/BlockFarmlandTFC.java
@@ -125,16 +125,6 @@ else if (current > target || target == 0)
super.updateTick(world, pos, state, rand);
}

@Override
public void onFallenUpon(World worldIn, BlockPos pos, Entity entityIn, float fallDistance)
{
if (!worldIn.isRemote && entityIn.canTrample(worldIn, this, pos, fallDistance)) // Forge: Move logic to Entity#canTrample
{
turnToDirt(worldIn, pos);
}
super.onFallenUpon(worldIn, pos, entityIn, fallDistance);
}

@Override
protected BlockStateContainer createBlockState()
{

0 comments on commit 33c9bcf

Please sign in to comment.
You can’t perform that action at this time.