Explicitly deprecate all MaterialData subclasses
By: md_5 <git@md-5.net>
This commit is contained in:
@@ -9,7 +9,11 @@ import org.bukkit.TreeSpecies;
|
||||
*
|
||||
* @see Material#LEGACY_LEAVES
|
||||
* @see Material#LEGACY_LEAVES_2
|
||||
*
|
||||
* @deprecated all usage of MaterialData is deprecated and subject to removal.
|
||||
* Use {@link org.bukkit.block.data.BlockData}.
|
||||
*/
|
||||
@Deprecated
|
||||
public class Leaves extends Wood {
|
||||
protected static final Material DEFAULT_TYPE = Material.LEGACY_LEAVES;
|
||||
protected static final boolean DEFAULT_DECAYABLE = true;
|
||||
|
||||
Reference in New Issue
Block a user