This commit is contained in:
Jikoo
2020-11-15 13:26:59 -05:00
parent db8b67082b
commit 804d30bcc7
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;
}