mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-25 14:24:35 +00:00
Add Deprecated annotation to methods overriding a deprecated method
This commit is contained in:
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]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user