From b43538ee7868449fea8ad1b04263969590f9761c Mon Sep 17 00:00:00 2001 From: bm01 Date: Wed, 30 Jan 2013 02:02:28 +0100 Subject: [PATCH] Fixed Shake Mob using "data" value as amount Bug introduced in one of the previous commits --- .../java/com/gmail/nossr50/skills/fishing/ShakeMob.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/skills/fishing/ShakeMob.java b/src/main/java/com/gmail/nossr50/skills/fishing/ShakeMob.java index a239ca266..c89743f8e 100644 --- a/src/main/java/com/gmail/nossr50/skills/fishing/ShakeMob.java +++ b/src/main/java/com/gmail/nossr50/skills/fishing/ShakeMob.java @@ -122,7 +122,7 @@ public final class ShakeMob { possibleDrops.put(new ItemStack(Material.RAW_BEEF), 49); break; case CREEPER: - possibleDrops.put(new ItemStack(Material.SKULL_ITEM, (byte) 0x4), 1); + possibleDrops.put(new ItemStack(Material.SKULL_ITEM, 1, (short) 4), 1); possibleDrops.put(new ItemStack(Material.SULPHUR), 99); break; case ENDERMAN: @@ -158,7 +158,7 @@ public final class ShakeMob { possibleDrops.put(new ItemStack(Material.WOOL, Misc.getRandom().nextInt(6) + 1), 100); break; case SKELETON: - possibleDrops.put(new ItemStack(Material.SKULL_ITEM), 2); + possibleDrops.put(new ItemStack(Material.SKULL_ITEM, 1, (short) 0), 2); possibleDrops.put(new ItemStack(Material.BONE), 49); possibleDrops.put(new ItemStack(Material.ARROW, Misc.getRandom().nextInt(3) + 1), 49); break; @@ -186,7 +186,7 @@ public final class ShakeMob { possibleDrops.put(new ItemStack(Material.POTION), 13); break; case ZOMBIE: - possibleDrops.put(new ItemStack(Material.SKULL_ITEM, (byte) 0x2), 2); + possibleDrops.put(new ItemStack(Material.SKULL_ITEM, 1, (short) 2), 2); possibleDrops.put(new ItemStack(Material.ROTTEN_FLESH), 98); break; default: