diff --git a/nms-patches/ItemStack.patch b/nms-patches/ItemStack.patch index 4af9c3f9f0..98cf9d8477 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); + } +