Dieser Commit ist enthalten in:
Ursprung
4200d62159
Commit
58e3120ce2
@ -111,6 +111,8 @@ public abstract class SpecialItem {
|
||||
|
||||
public static ItemStack getRandomItem() {
|
||||
double missileChance = Config.MissileChance + count * 0.1;
|
||||
if (Config.MissileChance == 0) missileChance = 0.0;
|
||||
if (Config.MissileChance == 1) missileChance = 1.0;
|
||||
if (random.nextDouble() > missileChance) {
|
||||
count++;
|
||||
return supportItems.get(random.nextInt(supportItems.size())).getItem();
|
||||
|
In neuem Issue referenzieren
Einen Benutzer sperren