mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Cant forget to fix mushroom growth
By: md_5 <md_5@live.com.au>
This commit is contained in:
parent
bc01b7362b
commit
b2f83676cf
1 changed files with 1 additions and 1 deletions
|
@ -63,7 +63,7 @@ index 8fa8302..f66ea7a 100644
|
|||
|
||||
public void b(World world, int i, int j, int k, Random random) {
|
||||
- if (random.nextInt((int) (world.growthOdds * 100 / world.getWorld().mushroomGrowthModifier * 25)) == 0) { // Spigot
|
||||
+ if (random.nextInt((int) (world.growthOdds / world.getWorld().mushroomGrowthModifier * 25)) == 0) { // Spigot
|
||||
+ if (random.nextInt(Math.max(1, (int) world.growthOdds / world.getWorld().mushroomGrowthModifier * 25)) == 0) { // Spigot
|
||||
byte b0 = 4;
|
||||
int l = 5;
|
||||
|
||||
|
|
Loading…
Reference in a new issue