Add Deprecated annotation to methods overriding a deprecated method

This commit is contained in:
pupnewfster authored and Dave Smith committed 2019-03-17 21:30:36 -06:00
1 parent 10e741ade5
commit e3c182eebe
15 files changed
+92

No files matched your search

@@ -32,6 +32,7 @@ public class BlockPlasticFence extends BlockFence {
@Nonnull
@Override
@Deprecated
public IBlockState getStateFromMeta(int meta) {
return this.getDefaultState().withProperty(colorProperty, EnumDyeColor.byDyeDamage(meta));
}