Remove deprecated warnings from 2 methods
This commit is contained in:
parent
306b246f76
commit
575756ca72
@ -115,7 +115,6 @@ public class DisguiseAPI {
|
|||||||
/**
|
/**
|
||||||
* Get the disguise of a entity
|
* Get the disguise of a entity
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public static Disguise getDisguise(Entity disguised) {
|
public static Disguise getDisguise(Entity disguised) {
|
||||||
if (disguised == null)
|
if (disguised == null)
|
||||||
return null;
|
return null;
|
||||||
@ -152,7 +151,6 @@ public class DisguiseAPI {
|
|||||||
/**
|
/**
|
||||||
* Is this entity disguised
|
* Is this entity disguised
|
||||||
*/
|
*/
|
||||||
@Deprecated
|
|
||||||
public static boolean isDisguised(Entity disguised) {
|
public static boolean isDisguised(Entity disguised) {
|
||||||
return getDisguise(disguised) != null;
|
return getDisguise(disguised) != null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user