mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-26 23:26:45 +01:00
Fixed Lapis dropping the wrong thing (stupid DyeColor enum...)
This commit is contained in:
parent
ed65842e3d
commit
3bb7b05d80
@ -2,7 +2,6 @@ package com.gmail.nossr50.skills;
|
|||||||
|
|
||||||
import org.bukkit.Bukkit;
|
import org.bukkit.Bukkit;
|
||||||
import org.bukkit.CoalType;
|
import org.bukkit.CoalType;
|
||||||
import org.bukkit.DyeColor;
|
|
||||||
import org.bukkit.Location;
|
import org.bukkit.Location;
|
||||||
import org.bukkit.Material;
|
import org.bukkit.Material;
|
||||||
import org.bukkit.block.Block;
|
import org.bukkit.block.Block;
|
||||||
@ -58,7 +57,7 @@ public class Mining
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case LAPIS_ORE:
|
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.mcDropItems(loc, item, 4);
|
||||||
m.mcRandomDropItems(loc, item, 50, 4);
|
m.mcRandomDropItems(loc, item, 50, 4);
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user