From 616a9687a101689f8ad577446cf9caf80ee8ecd4 Mon Sep 17 00:00:00 2001 From: md_5 Date: Tue, 22 Mar 2016 18:04:02 +1100 Subject: SPIGOT-1975: Fix falling blocks when height > 1 --- nms-patches/EntityFallingBlock.patch | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'nms-patches/EntityFallingBlock.patch') diff --git a/nms-patches/EntityFallingBlock.patch b/nms-patches/EntityFallingBlock.patch index 22aa5d3a..54afb180 100644 --- a/nms-patches/EntityFallingBlock.patch +++ b/nms-patches/EntityFallingBlock.patch @@ -18,6 +18,15 @@ this.world.setAir(blockposition); } else if (!this.world.isClientSide) { this.die(); +@@ -84,7 +86,7 @@ + + if (BlockFalling.i(this.world.getType(new BlockPosition(this.locX, this.locY - 0.009999999776482582D, this.locZ)))) { + this.onGround = false; +- return; ++ // return; // CraftBukkit + } + + this.motX *= 0.699999988079071D; @@ -93,7 +95,13 @@ if (iblockdata.getBlock() != Blocks.PISTON_EXTENSION) { this.die(); -- cgit v1.2.3