spigot check if inventory is empty code example
Example: spigot check if inventory is empty
public static boolean checkIfEmpty(Inventory inventory) {
return inventory.firstEmpty() == 0;
}
public static boolean checkIfEmpty(Inventory inventory) {
return inventory.firstEmpty() == 0;
}