diff options
author | md_5 <git@md-5.net> | 2016-07-15 20:08:04 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-07-15 20:10:43 +1000 |
commit | 7f9fbe54baf0e73dc6a9a1ff58d67f82881507a4 (patch) | |
tree | 0b3899cc364fed2c8aa7d7b6d7f41297c60d270d /nms-patches/BlockOre.patch | |
parent | 301db84d3d85f5218f3ec590224071c04140bbe2 (diff) | |
download | craftbukkit-7f9fbe54baf0e73dc6a9a1ff58d67f82881507a4.tar craftbukkit-7f9fbe54baf0e73dc6a9a1ff58d67f82881507a4.tar.gz craftbukkit-7f9fbe54baf0e73dc6a9a1ff58d67f82881507a4.tar.lz craftbukkit-7f9fbe54baf0e73dc6a9a1ff58d67f82881507a4.tar.xz craftbukkit-7f9fbe54baf0e73dc6a9a1ff58d67f82881507a4.zip |
Simplify a few diffs
Diffstat (limited to 'nms-patches/BlockOre.patch')
-rw-r--r-- | nms-patches/BlockOre.patch | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/nms-patches/BlockOre.patch b/nms-patches/BlockOre.patch index 4e995e40..9cf76ccc 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; -@@ -56,13 +57,42 @@ +@@ -56,9 +57,34 @@ this.dropExperience(world, blockposition, j); } @@ -43,11 +43,3 @@ 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; - } |