Dieser Commit ist enthalten in:
Ursprung
2a392b8827
Commit
a6fcd312fb
@ -110,7 +110,7 @@ public abstract class SpecialItem {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static ItemStack getRandomItem() {
|
public static ItemStack getRandomItem() {
|
||||||
if (random.nextDouble() > Config.MissileChance && !lastItemWasSupportItem) {
|
if (!lastItemWasSupportItem && random.nextDouble() > Config.MissileChance) {
|
||||||
lastItemWasSupportItem = true;
|
lastItemWasSupportItem = true;
|
||||||
return supportItems.get(random.nextInt(supportItems.size())).getItem();
|
return supportItems.get(random.nextInt(supportItems.size())).getItem();
|
||||||
}
|
}
|
||||||
|
In neuem Issue referenzieren
Einen Benutzer sperren