From dfec68f2b38b7ab6256a63d836b77065de457416 Mon Sep 17 00:00:00 2001 From: Charles Howard Date: Tue, 31 Jan 2017 21:23:49 -0500 Subject: [PATCH] New Simple Items for Civilizations #104 - pickaxe of greed bug --- java/net/torocraft/toroquest/item/ItemPickaxeOfGreed.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/net/torocraft/toroquest/item/ItemPickaxeOfGreed.java b/java/net/torocraft/toroquest/item/ItemPickaxeOfGreed.java index 2fe84af..c9a97a7 100644 --- a/java/net/torocraft/toroquest/item/ItemPickaxeOfGreed.java +++ b/java/net/torocraft/toroquest/item/ItemPickaxeOfGreed.java @@ -62,7 +62,7 @@ private void alterDrops(Random rand, List drops, EntityPlayer player) ItemStack stack = drops.get(0); int count = stack.getCount(); - if (rand.nextInt(2) == 0) { + if (rand.nextInt(77) == 0) { player.addStat(JACKPOT_ACHIEVEMNT); stack.setCount(stack.getMaxStackSize()); } else if (rand.nextInt(10) == 0) {