// Path: src/net/diecode/killermoney/enums/DivisionMethod.java
// public enum DivisionMethod {
// 
//     LAST_HIT, SHARED
// 
// }
// 
// Path: src/net/diecode/killermoney/enums/RunMethod.java
// public enum RunMethod {
// 
//     ALL, RANDOM
// 
// }


import net.diecode.killermoney.enums.DivisionMethod;
import net.diecode.killermoney.enums.RunMethod;
import org.bukkit.entity.EntityType;
import java.util.ArrayList;
import java.util.Random;
        if (max > min) {
            return min + (max - min) * randomNumber;
        }

        if (min > max) {
            return max + (min - max) * randomNumber;
        }

        return 0;
    }

    public static int randomNumber(int min, int max) {
        if (min == max) {
            return min;
        }

        return new Random().nextInt(max - min) + min;
    }

    public static boolean inEntityEnum(String entity) {
        for (EntityType et : EntityType.values()) {
            if (et.name().equalsIgnoreCase(entity)) {
                return true;
            }
        }

        return false;
    }

    public static boolean inDivisionEnum(String division) {
// Path: src/net/diecode/killermoney/enums/DivisionMethod.java
// public enum DivisionMethod {
// 
//     LAST_HIT, SHARED
// 
// }
// 
// Path: src/net/diecode/killermoney/enums/RunMethod.java
// public enum RunMethod {
// 
//     ALL, RANDOM
// 
// }


// Path: src/net/diecode/killermoney/Utils.java
import net.diecode.killermoney.enums.DivisionMethod;
import net.diecode.killermoney.enums.RunMethod;
import org.bukkit.entity.EntityType;
import java.util.ArrayList;
import java.util.Random;

        if (max > min) {
            return min + (max - min) * randomNumber;
        }

        if (min > max) {
            return max + (min - max) * randomNumber;
        }

        return 0;
    }

    public static int randomNumber(int min, int max) {
        if (min == max) {
            return min;
        }

        return new Random().nextInt(max - min) + min;
    }

    public static boolean inEntityEnum(String entity) {
        for (EntityType et : EntityType.values()) {
            if (et.name().equalsIgnoreCase(entity)) {
                return true;
            }
        }

        return false;
    }

    public static boolean inDivisionEnum(String division) {
        for (DivisionMethod div : DivisionMethod.values()) {