From 8eb1f2cdd764797c93c3580b2e764a8779180879 Mon Sep 17 00:00:00 2001 From: CraftBukkit/Spigot Date: Mon, 28 Nov 2016 10:13:49 +1100 Subject: [PATCH] SPIGOT-1401: Issues placing blocks adjacent to eachother By: md_5 --- paper-server/nms-patches/ItemStack.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paper-server/nms-patches/ItemStack.patch b/paper-server/nms-patches/ItemStack.patch index 4af9c3f9f0..98cf9d8477 100644 --- a/paper-server/nms-patches/ItemStack.patch +++ b/paper-server/nms-patches/ItemStack.patch @@ -167,7 +167,7 @@ + BlockPosition newblockposition = new BlockPosition(x, y, z); + IBlockData block = world.getType(newblockposition); + -+ if (!(block instanceof BlockTileEntity)) { // Containers get placed automatically ++ if (!(block.getBlock() instanceof BlockTileEntity)) { // Containers get placed automatically + block.getBlock().onPlace(world, newblockposition, block); + } +