summaryrefslogtreecommitdiffstats
path: root/nms-patches/BlockOre.patch
diff options
context:
space:
mode:
authormd_5 <git@md-5.net>2016-07-15 20:08:04 +1000
committermd_5 <git@md-5.net>2016-07-15 20:10:43 +1000
commit7f9fbe54baf0e73dc6a9a1ff58d67f82881507a4 (patch)
tree0b3899cc364fed2c8aa7d7b6d7f41297c60d270d /nms-patches/BlockOre.patch
parent301db84d3d85f5218f3ec590224071c04140bbe2 (diff)
downloadcraftbukkit-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.patch10
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;
- }