From 0a1e0455e2dea43657debc158a1b1a2282e5516d Mon Sep 17 00:00:00 2001 From: md_5 Date: Mon, 28 Nov 2016 10:13:49 +1100 Subject: [PATCH] SPIGOT-1401: Issues placing blocks adjacent to eachother --- nms-patches/ItemStack.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nms-patches/ItemStack.patch b/nms-patches/ItemStack.patch index 4af9c3f9f..98cf9d847 100644 --- a/nms-patches/ItemStack.patch +++ b/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); + } +