Java not returning my int value

I’m stuck for a few hours now, because I can’t fix my problem.

I made a method, but it won’t return the value called ‘amount’. It works when I use System.out.println, but not when i want to return it.
Help me please.

This is my code:

import java.util.Random;
import java.util.ArrayList;

public class Dice {

private int number;
Random sticks = new Random();
ArrayList<String> allNumbers;
boolean thrownOne;
int thrownNumber = 0;

public Dice() {
    allNumbers = new ArrayList<String>();
}

public int throwSticks() {
    String sticksColor;
    int black = 0;
    int white = 0;
    int amount = 0;

    for (int i = 0; i < 4; i++) {
        number = sticks.nextInt(2); // gooit random nummer
        if (number == 0) {
            sticksColor = "Black";
        } else {
            sticksColor = "White";
        }

        allNumbers.add(sticksColor); // voeg random nummer toe aan arraylist
    }

    for (String s : allNumbers) {
        if (s.equals("Black")) {
            black++;
        }
        if (s.equals("White")) {
            white++;
        }
    }

    if (black == 4) {
        amount = 6;

    } else {
        amount = white;

    }

    return amount;

}

}