Fixed Lapis dropping the wrong thing (stupid DyeColor enum...)

This commit is contained in:
GJ 2012-03-17 12:22:42 -04:00
parent ed65842e3d
commit 3bb7b05d80

View File

@ -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;