Made special items twice as rare
This commit is contained in:
parent
3a23f4745a
commit
bb305e9470
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ public class GrassBreakListener implements Listener {
|
|||
Location location = event.getBlock().getLocation();
|
||||
World world = event.getBlock().getWorld();
|
||||
|
||||
switch((int) (Math.random()* 50)){
|
||||
switch((int) (Math.random()* 100)){
|
||||
case 1: // 2% chance
|
||||
world.dropItem(location, new ItemStack(Material.CARROT));
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue