This commit is contained in:
Jikoo 2020-11-15 13:26:59 -05:00
parent db8b67082b
commit 804d30bcc7
No known key found for this signature in database
GPG key ID: 37FF68B07F639098
2 changed files with 9 additions and 1 deletions

View file

@ -42,7 +42,15 @@ public class InventoryAccess implements IInventoryAccess {
} catch (NoSuchMethodException ignored) {}
}
/**
* @deprecated use {@link #isUsable()}
*/
@Deprecated
public static boolean isUseable() {
return isUsable();
}
public static boolean isUsable() {
return craftInventory != null && getInventory != null;
}