From bb305e94707d6ca8d430d7f84eb58e4b41182e51 Mon Sep 17 00:00:00 2001 From: alisolarflare Date: Fri, 9 Dec 2016 22:03:27 -0500 Subject: [PATCH] Made special items twice as rare --- src/alisolarflare/components/fruit/GrassBreakListener.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/alisolarflare/components/fruit/GrassBreakListener.java b/src/alisolarflare/components/fruit/GrassBreakListener.java index ee3659d..098b31b 100644 --- a/src/alisolarflare/components/fruit/GrassBreakListener.java +++ b/src/alisolarflare/components/fruit/GrassBreakListener.java @@ -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;