mirror of
https://github.com/TotalFreedomMC/OpenInv.git
synced 2025-06-20 00:56:23 +00:00
tpyo
This commit is contained in:
parent
db8b67082b
commit
804d30bcc7
2 changed files with 9 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue