From aa008dff0f9bedbe88e1fe79831776b0a52eb90a Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 1 Mar 2016 08:32:46 +1100 Subject: Update to Minecraft 1.9 --- nms-patches/BlockOre.patch | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'nms-patches/BlockOre.patch') diff --git a/nms-patches/BlockOre.patch b/nms-patches/BlockOre.patch index 4522722e..cbe3d905 100644 --- a/nms-patches/BlockOre.patch +++ b/nms-patches/BlockOre.patch @@ -8,7 +8,7 @@ if (this.getDropType(iblockdata, world.random, i) != Item.getItemOf(this)) { int j = 0; -@@ -54,9 +55,34 @@ +@@ -54,13 +55,42 @@ this.dropExperience(world, blockposition, j); } @@ -40,6 +40,14 @@ + // CraftBukkit end + } + - public int getDropData(World world, BlockPosition blockposition) { - return 0; + public ItemStack a(World world, BlockPosition blockposition, IBlockData iblockdata) { + return new ItemStack(this); + } + ++ public int getDropData(World world, BlockPosition blockposition) { ++ return 0; ++ } ++ + public int getDropData(IBlockData iblockdata) { + return this == Blocks.LAPIS_ORE ? EnumColor.BLUE.getInvColorIndex() : 0; } -- cgit v1.2.3