Made special items twice as rare

This commit is contained in:
alisolarflare 2016-12-09 22:03:27 -05:00
parent 3a23f4745a
commit bb305e9470

View file

@ -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;