mirror of
https://github.com/libraryaddict/LibsDisguises.git
synced 2024-11-05 09:09:40 +01:00
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
|
||||
*/
|
||||
@Deprecated
|
||||
public static Disguise getDisguise(Entity disguised) {
|
||||
if (disguised == null)
|
||||
return null;
|
||||
@ -152,7 +151,6 @@ public class DisguiseAPI {
|
||||
/**
|
||||
* Is this entity disguised
|
||||
*/
|
||||
@Deprecated
|
||||
public static boolean isDisguised(Entity disguised) {
|
||||
return getDisguise(disguised) != null;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user