set spawning rate of charred blocks a 10% lower

This commit is contained in:
NewGarbo 2016-01-25 17:06:15 +00:00
parent 208df93739
commit 5a5dc9925e
1 changed files with 1 additions and 1 deletions

View File

@ -139,7 +139,7 @@ public class CannonCrater implements Listener
if (block.getType() == Material.AIR) continue; 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)); _blocks.add(new CraterBlock(block.getLocation(), distance, Material.COAL_BLOCK));
_effects.add(new CraterEffect(ParticleType.FLAME, block.getLocation().add(0, .5, 0))); _effects.add(new CraterEffect(ParticleType.FLAME, block.getLocation().add(0, .5, 0)));