// 
// Decompiled by Procyon v0.6.0
// 

package com.hypixel.hytale.builtin.hytalegenerator.framework.math;

import java.util.Random;

public class Probability
{
    public static boolean of(final double chance, final long seed) {
        final Random rand = new Random(seed);
        return rand.nextDouble() < chance;
    }
}
