Skip to content

Commit

Permalink
New Simple Items for Civilizations #104
Browse files Browse the repository at this point in the history
- pickaxe of greed bug
  • Loading branch information
frodare committed Feb 1, 2017
1 parent e513f22 commit dfec68f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/net/torocraft/toroquest/item/ItemPickaxeOfGreed.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private void alterDrops(Random rand, List<ItemStack> 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) {
Expand Down

0 comments on commit dfec68f

Please sign in to comment.