From 443b4a193cdddc98d2269766a2c1870198563749 Mon Sep 17 00:00:00 2001 From: GJ Date: Fri, 23 Mar 2012 22:30:56 -0400 Subject: [PATCH] Fixed Shake dropping bonemeal from Squids. Stupid DyeColor enum... --- Changelog.txt | 1 + src/main/java/com/gmail/nossr50/skills/Fishing.java | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Changelog.txt b/Changelog.txt index 8ab5c3753..7cf7351da 100644 --- a/Changelog.txt +++ b/Changelog.txt @@ -8,6 +8,7 @@ Key: - Removal Version 1.3.04-dev + = Fixed Shake ability dropping bonemeal instead of ink for squids. ! Changed MySQL to reload all player information on reconnection Version 1.3.03 diff --git a/src/main/java/com/gmail/nossr50/skills/Fishing.java b/src/main/java/com/gmail/nossr50/skills/Fishing.java index 3f04cbf96..c47345ecc 100644 --- a/src/main/java/com/gmail/nossr50/skills/Fishing.java +++ b/src/main/java/com/gmail/nossr50/skills/Fishing.java @@ -4,7 +4,6 @@ import java.util.ArrayList; import java.util.List; import java.util.Map; -import org.bukkit.DyeColor; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.enchantments.Enchantment; @@ -315,7 +314,7 @@ public class Fishing { break; case SQUID: - m.mcDropItem(loc, new ItemStack(Material.INK_SACK, 1, (short) 0, DyeColor.BLACK.getData())); + m.mcDropItem(loc, new ItemStack(Material.INK_SACK, 1, (short) 0, (byte) 0x0)); break; case ZOMBIE: