Simplify a few diffs

By: md_5 <git@md-5.net>
This commit is contained in:
CraftBukkit/Spigot
2016-07-15 20:08:04 +10:00
parent 1e7be02c6b
commit 3aa2d8025a
8 changed files with 76 additions and 124 deletions

View File

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