diff --git a/src/main/java/com/minelittlepony/unicopia/block/USapling.java b/src/main/java/com/minelittlepony/unicopia/block/USapling.java index a9fe353b..77e8f1eb 100644 --- a/src/main/java/com/minelittlepony/unicopia/block/USapling.java +++ b/src/main/java/com/minelittlepony/unicopia/block/USapling.java @@ -8,6 +8,7 @@ import javax.annotation.Nullable; import com.google.common.collect.ImmutableMap; import net.minecraft.block.Block; +import net.minecraft.block.BlockPlanks; import net.minecraft.block.BlockSapling; import net.minecraft.block.SoundType; import net.minecraft.block.properties.IProperty; @@ -132,6 +133,17 @@ public class USapling extends BlockSapling implements ITreeGen { return other.getBlock() == this; } + @Deprecated + @Override + public boolean isTypeAt(World world, BlockPos pos, BlockPlanks.EnumType type) { + return world.getBlockState(pos).getBlock() == this; + } + + @Override + public int damageDropped(IBlockState state) { + return 0; + } + @Override public IBlockState getStateFromMeta(int meta) { return getDefaultState().withProperty(STAGE, (meta & 8) >> 3);