From e5acf6d936868dbea8d134734ce6b0723bd93bf0 Mon Sep 17 00:00:00 2001 From: riking Date: Wed, 6 Nov 2013 21:34:16 -0800 Subject: [PATCH] Also clone fishing treasures, use alternate Wool method The alternate wool method is testing, the treasure clone is there to stay ;) --- .../java/com/gmail/nossr50/skills/fishing/FishingManager.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/skills/fishing/FishingManager.java b/src/main/java/com/gmail/nossr50/skills/fishing/FishingManager.java index 4604aaa15..66624b3ce 100644 --- a/src/main/java/com/gmail/nossr50/skills/fishing/FishingManager.java +++ b/src/main/java/com/gmail/nossr50/skills/fishing/FishingManager.java @@ -399,7 +399,7 @@ public class FishingManager extends SkillManager { return; } - drop.setData(new Wool(sheep.getColor())); + drop = new Wool(sheep.getColor()).toItemStack(drop.getAmount()); sheep.setSheared(true); } break; @@ -474,7 +474,7 @@ public class FishingManager extends SkillManager { return null; } - ItemStack treasureDrop = treasure.getDrop(); + ItemStack treasureDrop = treasure.getDrop().clone(); short maxDurability = treasureDrop.getType().getMaxDurability(); if (maxDurability > 0) {