mirror of
https://hub.spigotmc.org/stash/scm/spigot/bukkit.git
synced 2025-09-18 21:45:12 +00:00
#848: Mark get/setCatType methods deprecated in addition to the enum
This commit is contained in:
parent
aeb62aa331
commit
de5ba4022d
1 changed files with 4 additions and 0 deletions
|
@ -27,15 +27,19 @@ public interface Ocelot extends Animals {
|
|||
* Gets the current type of this cat.
|
||||
*
|
||||
* @return Type of the cat.
|
||||
* @deprecated Cats are now a separate entity.
|
||||
*/
|
||||
@NotNull
|
||||
@Deprecated
|
||||
public Type getCatType();
|
||||
|
||||
/**
|
||||
* Sets the current type of this cat.
|
||||
*
|
||||
* @param type New type of this cat.
|
||||
* @deprecated Cats are now a separate entity.
|
||||
*/
|
||||
@Deprecated
|
||||
public void setCatType(@NotNull Type type);
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue