set spawning rate of charred blocks a 10% lower
This commit is contained in:
parent
208df93739
commit
5a5dc9925e
|
@ -139,7 +139,7 @@ public class CannonCrater implements Listener
|
|||
|
||||
if (block.getType() == Material.AIR) continue;
|
||||
|
||||
if (distance > 2 && Math.random() > .65 && UtilItem.isBoundless(block.getRelative(BlockFace.UP).getType()) && !UtilItem.isBoundless(block.getRelative(BlockFace.DOWN).getType()))
|
||||
if (distance > 2 && Math.random() > .75 && UtilItem.isBoundless(block.getRelative(BlockFace.UP).getType()) && !UtilItem.isBoundless(block.getRelative(BlockFace.DOWN).getType()))
|
||||
{
|
||||
_blocks.add(new CraterBlock(block.getLocation(), distance, Material.COAL_BLOCK));
|
||||
_effects.add(new CraterEffect(ParticleType.FLAME, block.getLocation().add(0, .5, 0)));
|
||||
|
|
Loading…
Reference in New Issue