diff options
author | md_5 <git@md-5.net> | 2016-05-10 21:47:39 +1000 |
---|---|---|
committer | md_5 <git@md-5.net> | 2016-05-10 21:47:39 +1000 |
commit | c5e9a169fa564f3b8119b6666f8df59d5a9b45c3 (patch) | |
tree | 9f3b1ce732f0082b71512b1dddb7abb35526226e /nms-patches/BlockSkull.patch | |
parent | 4cb32587ac1ff543b2efa9498f8d0d358cb90c12 (diff) | |
download | craftbukkit-c5e9a169fa564f3b8119b6666f8df59d5a9b45c3.tar craftbukkit-c5e9a169fa564f3b8119b6666f8df59d5a9b45c3.tar.gz craftbukkit-c5e9a169fa564f3b8119b6666f8df59d5a9b45c3.tar.lz craftbukkit-c5e9a169fa564f3b8119b6666f8df59d5a9b45c3.tar.xz craftbukkit-c5e9a169fa564f3b8119b6666f8df59d5a9b45c3.zip |
Minecraft 1.9.4
Diffstat (limited to 'nms-patches/BlockSkull.patch')
-rw-r--r-- | nms-patches/BlockSkull.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/nms-patches/BlockSkull.patch b/nms-patches/BlockSkull.patch index 914d423d..ba234cb7 100644 --- a/nms-patches/BlockSkull.patch +++ b/nms-patches/BlockSkull.patch @@ -1,8 +1,8 @@ --- a/net/minecraft/server/BlockSkull.java +++ b/net/minecraft/server/BlockSkull.java -@@ -4,6 +4,11 @@ - import java.util.Iterator; +@@ -5,6 +5,11 @@ import java.util.Random; + import javax.annotation.Nullable; +// CraftBukkit start +import org.bukkit.craftbukkit.util.BlockStateListPopulator; @@ -12,7 +12,7 @@ public class BlockSkull extends BlockTileEntity { public static final BlockStateDirection FACING = BlockDirectional.FACING; -@@ -81,7 +86,25 @@ +@@ -82,7 +87,25 @@ return new ItemStack(Items.SKULL, 1, i); } @@ -39,7 +39,7 @@ public void a(World world, BlockPosition blockposition, IBlockData iblockdata, EntityHuman entityhuman) { if (entityhuman.abilities.canInstantlyBuild) { -@@ -94,7 +117,10 @@ +@@ -95,7 +118,10 @@ public void remove(World world, BlockPosition blockposition, IBlockData iblockdata) { if (!world.isClientSide) { @@ -51,7 +51,7 @@ TileEntity tileentity = world.getTileEntity(blockposition); if (tileentity instanceof TileEntitySkull) { -@@ -126,24 +152,36 @@ +@@ -128,24 +154,36 @@ } public void a(World world, BlockPosition blockposition, TileEntitySkull tileentityskull) { @@ -90,7 +90,7 @@ } } -@@ -156,14 +194,16 @@ +@@ -158,14 +196,16 @@ entitywither.o(); Iterator iterator = world.a(EntityHuman.class, entitywither.getBoundingBox().g(50.0D)).iterator(); @@ -109,7 +109,7 @@ int k; for (k = 0; k < 120; ++k) { -@@ -177,6 +217,7 @@ +@@ -179,6 +219,7 @@ world.update(shapedetectorblock2.getPosition(), Blocks.AIR); } } |