mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-10 09:02:09 -07:00
Update to Minecraft 1.9
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user