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

@@ -34,6 +34,7 @@ public class BlockOre extends Block {
@Nonnull
@Override
@Deprecated
public IBlockState getStateFromMeta(int meta) {
return getDefaultState().withProperty(BlockStateOre.typeProperty, EnumOreType.values()[meta]);
}