From 887f8f3e0c72b88126e73fa299b2c16e9165fb8d Mon Sep 17 00:00:00 2001 From: GJ Date: Mon, 20 Feb 2012 10:25:10 -0500 Subject: [PATCH] Fixed backwards logic in ShakeMob. --- src/main/java/com/gmail/nossr50/skills/Fishing.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/skills/Fishing.java b/src/main/java/com/gmail/nossr50/skills/Fishing.java index 1d0099a85..09e423e0c 100644 --- a/src/main/java/com/gmail/nossr50/skills/Fishing.java +++ b/src/main/java/com/gmail/nossr50/skills/Fishing.java @@ -1144,7 +1144,7 @@ public class Fishing { else if(le instanceof Cow) { - if(Math.random() * 100 < 99){ + if(Math.random() * 100 >= 99){ m.mcDropItem(loc, new ItemStack(Material.MILK_BUCKET, 1)); //rare chance to drop milk } else if(Math.random() * 10 < 5){ @@ -1173,7 +1173,7 @@ public class Fishing { //need to implement new shearing method else if(le instanceof MushroomCow) { - if(Math.random() * 100 < 99){ + if(Math.random() * 100 >= 99){ if(Math.random() * 10 < 5){ m.mcDropItem(loc, new ItemStack(Material.MILK_BUCKET, 1)); //rare chance to drop milk } @@ -1201,7 +1201,7 @@ public class Fishing { } else if(le instanceof Snowman){ - if(Math.random() * 100 < 99){ + if(Math.random() * 100 >= 99){ m.mcDropItem(loc, new ItemStack(Material.PUMPKIN, 1)); //rare chance to drop pumpkin } else{