From 3bb7b05d80f5a1b6b0c8897034e16cbe1e436181 Mon Sep 17 00:00:00 2001 From: GJ Date: Sat, 17 Mar 2012 12:22:42 -0400 Subject: [PATCH] Fixed Lapis dropping the wrong thing (stupid DyeColor enum...) --- src/main/java/com/gmail/nossr50/skills/Mining.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/com/gmail/nossr50/skills/Mining.java b/src/main/java/com/gmail/nossr50/skills/Mining.java index e8365d66a..ff0432aa6 100644 --- a/src/main/java/com/gmail/nossr50/skills/Mining.java +++ b/src/main/java/com/gmail/nossr50/skills/Mining.java @@ -2,7 +2,6 @@ package com.gmail.nossr50.skills; import org.bukkit.Bukkit; import org.bukkit.CoalType; -import org.bukkit.DyeColor; import org.bukkit.Location; import org.bukkit.Material; import org.bukkit.block.Block; @@ -58,7 +57,7 @@ public class Mining break; case LAPIS_ORE: - item = new ItemStack(Material.INK_SACK, 1, (short) 0, DyeColor.BLUE.getData()); + item = new ItemStack(Material.INK_SACK, 1, (short) 0, (byte) 0x4); m.mcDropItems(loc, item, 4); m.mcRandomDropItems(loc, item, 50, 4); break;