mirror of
https://github.com/Thorfusion/Mekanism-Community-Edition.git
synced 2026-11-27 15:23:16 +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
@@ -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));
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user