From c5e9a169fa564f3b8119b6666f8df59d5a9b45c3 Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 10 May 2016 21:47:39 +1000 Subject: Minecraft 1.9.4 --- nms-patches/BlockPumpkin.patch | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'nms-patches/BlockPumpkin.patch') diff --git a/nms-patches/BlockPumpkin.patch b/nms-patches/BlockPumpkin.patch index 4ddb2b1b..4404b2f3 100644 --- a/nms-patches/BlockPumpkin.patch +++ b/nms-patches/BlockPumpkin.patch @@ -1,8 +1,8 @@ --- a/net/minecraft/server/BlockPumpkin.java +++ b/net/minecraft/server/BlockPumpkin.java -@@ -2,6 +2,12 @@ - +@@ -3,6 +3,12 @@ import com.google.common.base.Predicate; + import javax.annotation.Nullable; +// CraftBukkit start +import org.bukkit.craftbukkit.util.BlockStateListPopulator; @@ -13,7 +13,7 @@ public class BlockPumpkin extends BlockFacingHorizontal { private ShapeDetector snowGolemPart; -@@ -40,17 +46,24 @@ +@@ -41,17 +47,24 @@ int j; if ((shapedetector_shapedetectorcollection = this.getDetectorSnowGolem().a(world, blockposition)) != null) { @@ -40,7 +40,7 @@ for (j = 0; j < 120; ++j) { world.addParticle(EnumParticle.SNOW_SHOVEL, (double) blockposition1.getX() + world.random.nextDouble(), (double) blockposition1.getY() + world.random.nextDouble() * 2.5D, (double) blockposition1.getZ() + world.random.nextDouble(), 0.0D, 0.0D, 0.0D, new int[0]); -@@ -61,10 +74,16 @@ +@@ -62,10 +75,16 @@ world.update(shapedetectorblock1.getPosition(), Blocks.AIR); } @@ -58,7 +58,7 @@ } } -@@ -73,7 +92,10 @@ +@@ -74,7 +93,10 @@ entityirongolem.setPlayerCreated(true); entityirongolem.setPositionRotation((double) blockposition2.getX() + 0.5D, (double) blockposition2.getY() + 0.05D, (double) blockposition2.getZ() + 0.5D, 0.0F, 0.0F); @@ -70,7 +70,7 @@ for (j = 0; j < 120; ++j) { world.addParticle(EnumParticle.SNOWBALL, (double) blockposition2.getX() + world.random.nextDouble(), (double) blockposition2.getY() + world.random.nextDouble() * 3.9D, (double) blockposition2.getZ() + world.random.nextDouble(), 0.0D, 0.0D, 0.0D, new int[0]); -@@ -86,6 +108,7 @@ +@@ -87,6 +109,7 @@ world.update(shapedetectorblock2.getPosition(), Blocks.AIR); } } -- cgit v1.2.3